You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I determine when 2 bodies collide, is there a callback? Also, another part to that, is there way to detect when 2 bodies to be behave like triggers, is there a way to get a callback event but not have the bodies collide?
What are the available callbacks for this?
The text was updated successfully, but these errors were encountered:
Thanks you for response. However, I fail to see how this answer my second part of my question: having the bodies behave like a trigger.
Is there a way, in that example, to have one of the spheres turn to the green material while passing through their box, respectively?
Imagine in a first person shooter the player walks through a doorway to go into a room full of monsters that spawn upon entering. In that door way as the player collided with a box trigger there was no actual collision but instead a callback/event for me to start spawning monsters. Make sense?
How do I determine when 2 bodies collide, is there a callback? Also, another part to that, is there way to detect when 2 bodies to be behave like triggers, is there a way to get a callback event but not have the bodies collide?
What are the available callbacks for this?
The text was updated successfully, but these errors were encountered: