Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Check ropes touching each other
#4
(30-11-2021, 02:09 PM)greyhawk Wrote: So how do we realize that the contact has ended? just like onCollisionExit

Hi!

Simple: when the contact no longer appears in the list.

You can compare the previous frame's contact list and the current contact list to determine enter, stay and exit events. This is what the ObiContactEventDispatcher utility component does for regular -collider- contacts. You can do the same for particle contacts too.
Reply


Messages In This Thread
Check ropes touching each other - by greyhawk - 27-11-2021, 02:20 PM
RE: Check ropes touching each other - by greyhawk - 30-11-2021, 02:09 PM
RE: Check ropes touching each other - by josemendez - 30-11-2021, 02:28 PM
RE: Check ropes touching each other - by greyhawk - 30-11-2021, 04:36 PM
RE: Check ropes touching each other - by greyhawk - 01-12-2021, 02:34 PM