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

P2's SAPBroadphase getCollisionPairs can return an empty results array, which then produces a type error in the postBroadphaser handler when it tries to access event.pairs[-2].parent #934

Closed
wayfu opened this issue Jun 22, 2014 · 1 comment

Comments

@wayfu
Copy link

wayfu commented Jun 22, 2014

This happens in worlds with only static and kinetic bodies in them, for example.

photonstorm added a commit that referenced this issue Aug 28, 2014
…rray is empty or not before processing it (thanks @wayfu #934)
@photonstorm
Copy link
Collaborator

Should be fixed in dev now.

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