ContactEventsDemo OnRemove and Touching? #130
-
Been using physics engines in the past which have kept track of collisions and had events built-in. It's been a bit hard to follow the I think one of the current OnContactAdded is actually the touching event, correct? (When the collision still exists and is just updated.) I think OnRemoved should go in the Flush method somewhere, but seems like the same amount of info isn't available. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I updated the demo; it now has OnContactAdded, OnContactRemoved, OnStartedTouching, OnTouching, OnStoppedTouching, OnPairCreated, OnPairUpdated, and OnPairEnded. |
Beta Was this translation helpful? Give feedback.
I updated the demo; it now has OnContactAdded, OnContactRemoved, OnStartedTouching, OnTouching, OnStoppedTouching, OnPairCreated, OnPairUpdated, and OnPairEnded.