Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShadowCastFOV.gd doesn't seem to work right #1

Open
prulde opened this issue Nov 4, 2022 · 1 comment
Open

ShadowCastFOV.gd doesn't seem to work right #1

prulde opened this issue Nov 4, 2022 · 1 comment

Comments

@prulde
Copy link

prulde commented Nov 4, 2022

Hi, i wanted to use ShadowCastFOV.gd in my project and I noticed strange behavior:
image
image
Also noticed that the DevBlog article preview How to Implement Recursive Shadow Casting FOV with Godot Script suffers from the same issue
image
image

@prulde
Copy link
Author

prulde commented Nov 11, 2022

It seems like the problem somewhere in this block and most likely caused by some checks.
image
I rewrote your script, following roguebasin article and used quadrants instead of octants ShadowCasting.zip
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant