07-06-2024, 12:05 PM
Hi,
Yes no gravity kind of behaviour and rope stretch that was the problem. I set hanging object rigidbody y-axis position constraints locked. Rope was also stretching way beyond what I expected.
Now I solved it by releasing shape rigidbody y constraint and setting a base collider for it.
Overall gravity changed from y axis to z-axis to Vector3(0, 0, -9.81)
Set rope blue print mass to .2 while creating control points
Set hanging object mass to 100kg with z and x rotation constraint enabled
Adjusted the below rope params
Now its working!
https://drive.google.com/file/d/12RuGP6i...sp=sharing
Yes no gravity kind of behaviour and rope stretch that was the problem. I set hanging object rigidbody y-axis position constraints locked. Rope was also stretching way beyond what I expected.
Now I solved it by releasing shape rigidbody y constraint and setting a base collider for it.
Overall gravity changed from y axis to z-axis to Vector3(0, 0, -9.81)
Set rope blue print mass to .2 while creating control points
Set hanging object mass to 100kg with z and x rotation constraint enabled
Adjusted the below rope params
Code:
rope.distanceConstraintsEnabled = true;
rope.stretchingScale = .05f;
rope.stretchCompliance = 0.003f;
rope.bendCompliance = 1;
rope.maxBending = .5f;
Now its working!
https://drive.google.com/file/d/12RuGP6i...sp=sharing