Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope connected 3d object and its weight
#3
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
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
Reply


Messages In This Thread
RE: Rope connected 3d object and its weight - by kripa1415 - 07-06-2024, 12:05 PM