Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Check ropes touching each other
#3
(29-11-2021, 08:13 AM)josemendez Wrote: Hi there!

Just use collision callbacks. However instead of subscribing to OnCollision (which returns simplex-collider contacts) subscribe to OnParticleCollision (which returns simplex-simplex contacts). See:

http://obi.virtualmethodstudio.com/manua...sions.html

Then for each contact follow the steps in "Retrieving the actor involved in a contact" for both bodyA and bodyB in the contact. This way you'll get the two ropes involved in the contact.

So how do we realize that the contact has ended? just like onCollisionExit
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 greyhawk - 30-11-2021, 04:36 PM
RE: Check ropes touching each other - by greyhawk - 01-12-2021, 02:34 PM