Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Detect specific rope collision.
#8
I am trying to do the same thing for my game. I have an Obi Solver and it has around 20-25 ropes as childs. I attached the script to the obi solver and asked for a collider reference. However, those references are only the Unity objects like cubes and spheres. I have 4 ropes that are colliding with each other but they are not referenced in those reference list and when I attach the game object, I experience a major FPS drop although the substep is 2 and the time settings like fixed timestep are at the default references. I am probably missing a point here but how can I get around using it? Just like in the original OnCollision and OnTrigger callbacks, I would like to receive a reference when a rope is collided with another rope and I want to adress to the rope that is colliding with the other ones. Self collisions are open and the constraint iterations are 5 at most with 1 relaxation. What am I missing here?

The script is attached to the obi solver parent object. I tried to attach the script to the ropes and made a few adjustments on the code but in both cases, the same outcome occured for me.
Reply


Messages In This Thread
Detect specific rope collision. - by flaurens - 05-10-2020, 08:45 AM
RE: Detect specific rope collision. - by flaurens - 05-10-2020, 12:18 PM
RE: Detect specific rope collision. - by Elegar - 09-11-2020, 09:53 PM
RE: Detect specific rope collision. - by Elegar - 11-11-2020, 12:16 PM
RE: Detect specific rope collision. - by canerozdemir - 19-11-2020, 02:03 PM
RE: Detect specific rope collision. - by Gauri7 - 04-07-2022, 11:57 AM
RE: Detect specific rope collision. - by Gauri7 - 04-07-2022, 02:12 PM
RE: Detect specific rope collision. - by Gauri7 - 05-07-2022, 09:33 AM
RE: Detect specific rope collision. - by Gauri7 - 06-07-2022, 12:20 PM
RE: Detect specific rope collision. - by Gauri7 - 08-07-2022, 09:35 AM