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

world.rayCast provide more info (intersection point and angle) #317

Open
quinton-ashley opened this issue Apr 7, 2024 · 1 comment
Open

Comments

@quinton-ashley
Copy link
Owner

I'm thinking that each sprite in the returned sprite array could have rayIntersect and rayIncidence properties, these would be written to by world.rayCast and world.rayCastAll.

@Islati
Copy link

Islati commented Apr 25, 2024

👍 Great idea. Would call for some cool rendering

@quinton-ashley quinton-ashley added this to In Progress in p5play Project Planning Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants