[Bug or Feature] physics.collisionEvents.on('collision'
not omit if body.on.collision
not be call.
#160
Lyoko-Jeremie
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i have some objects, a wall (A) , a Barrier (B) , a user control object (C).
first register the global collisionEvents listener:
second init all object.
move the object (C) to collistion with (A) or (B), the above global collisionEvent listener not be call.
after register the collision listener on object (C) like follow:
the move the object (C) to collistion with (A) or (B) again , the above global collisionEvent listener will be call as expected.
Is this a Bug or Feature ? i think in some way, this is a Feature, right ?
Beta Was this translation helpful? Give feedback.
All reactions