Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Check if rope is on top of other rope!
#1
Bombilla 
Hello, 

I need to set a condition that return true when there's no rope below or above another rope. is there any way to achieve this?

Thanks,
Reply
#2
(25-06-2020, 08:42 PM)Kifwat Wrote: Hello, 

I need to set a condition that return true when there's no rope below or above another rope. is there any way to achieve this?

Thanks,

You'll have to write this yourself, as it's a really specific use case.

If you need the ropes to actually touch each other, you can use the solver's OnParticleCollision event. Then, filter contacts between the ropes. See:
http://obi.virtualmethodstudio.com/tutor...sions.html

If the ropes do not actually have to be touching, but merely above or below each other, you can use the particle API to determine this using particle positions:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply