Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Define Particle Position without inertia
#4
Quote:Hi Jose,I review code and now it works fine. Thank you very much for your help.Obisoftbody need RecalculateRestShapeMatching() after set valuesis it the same process for obi rope ?I set positions, prevpositions, startPositions and velocities, but when I generate rope it has too much inertial.Thanks

RecalculateRestShapeMatching() recalculates the rest state of shape matching constraints, as the name implies. Shape matching is only used in softbodies (see: http://obi.virtualmethodstudio.com/manua...gence.html) so there's no need to call it when modifying ropes.

If you set positions, previous positions and velocities, inertia at the time of generating the rope should be zero. Can you share the code you're using to generate your rope?
Reply


Messages In This Thread
RE: Define Particle Position without inertia - by josemendez - 11-03-2022, 09:52 AM