Help Smoothly relax to initial particles positions - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Help Smoothly relax to initial particles positions (/thread-3322.html) |
Smoothly relax to initial particles positions - Romahaaa - 15-02-2022 Is there a way to smoothly make a transition from modified rope to it's initiial positions (like in the blueprint may fit as well). I tried to to it moving the attached to the rope element (Rigidbody.Move) but it cause some glitches - sharp angles appeared on the ropeĀ for a second and after diasappear. RE: Smoothly relax to initial particles positions - josemendez - 15-02-2022 (15-02-2022, 01:14 PM)Romahaaa Wrote: Is there a way to smoothly make a transition from modified rope to it's initiial positions (like in the blueprint may fit as well). This depends on what you need to do exactly. If the transition must happen while the simulation is running, you can tweak particle velocities to add a force towards this rest shape. If this is a purely kinematic transition, you can just linearly interpolate between the current positions and the rest positions. Both can be done using the particles API: http://obi.virtualmethodstudio.com/manual/6.3/scriptingparticles.html |