11-03-2022, 09:52 AM
(This post was last modified: 11-03-2022, 09:53 AM by josemendez.)
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?