while collision is true

hi guys,

Ok I have two objects colliding with each other, and this calls an event. I want that event to keep looping until the two objects stop colliding. I know how to stop an event but I cant seem to find how to detect if the objects are still colliding.

Is there a way to check if the collision is true? sorry I couldn’t find anything on the forum.


There are two other collision events other than the In event. There is also the Again event (for when the objects are passing through each other) and the Out event when they stop colliding with each other. It’s listed in the [urk=https://www.panda3d.org/manual/index.php/Collision_Handlers]Collision handler event[/url] entry in the manual.

thank you very much, that is what I was looking for.