Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  problem with changing distance constraints parameters through script
#3
(20-08-2018, 04:32 PM)josemendez Wrote: Hi,

Just call
Code:
obiRopi.GetComponent<ObiSolver>().UpdateParameters();
after you've set the new values.

Hint: reducing Unity's timestep or increasing the amount of solver substeps might work much better for reducing rope stretchiness.
hey , thanks man. it works  Sonrisa 
do you think there is a way to freeze the rope's position on one of the axis ?something like rigidbody constraints, i just need the rope not to swing on X axis
Reply


Messages In This Thread
RE: problem with changing distance constraints parameters through script - by h00man - 21-08-2018, 05:19 PM