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

Physics2DWorld.rayCast() doesn't reset callback.minShape #22

Open
Zacqary opened this issue Aug 2, 2013 · 1 comment
Open

Physics2DWorld.rayCast() doesn't reset callback.minShape #22

Zacqary opened this issue Aug 2, 2013 · 1 comment

Comments

@Zacqary
Copy link

Zacqary commented Aug 2, 2013

rayCast() isn't resetting all of its properties correctly, leading to some callbacks not working properly. This is fixed in jslib/physics2ddevice.js by adding callback.minShape = null; to line 7243. I'm not sure what the TypeScript fix is.

@deltaluca
Copy link
Contributor

Looking into it.

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

2 participants