Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope Collision Detection
#1
Hi,
 I have 3 ropes tanged. I am untangling first rope and avoided collision from the other 2 ropes. How do I detect this ?
 I have the on collision subscribed on the solver and getting the contacts. But I want to filter rope wise

RopeGenerator.solver.OnParticleCollision += Solver_OnParticleCollision;

private void Solver_OnParticleCollision(ObiSolver solver, ObiSolver.ObiCollisionEventArgs contacts)
{
   
    if (contacts.contacts.Count <= 0)
    {
        
    }
    else
    {
        
    }
}
Reply


Messages In This Thread
Rope Collision Detection - by kripa1415 - 10-06-2024, 08:18 AM
RE: Rope Collision Detection - by josemendez - 10-06-2024, 08:37 AM
RE: Rope Collision Detection - by kripa1415 - 10-06-2024, 09:32 AM
RE: Rope Collision Detection - by josemendez - 10-06-2024, 10:35 AM