Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Smoothly relax to initial particles positions
#2
(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).

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.

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/manua...icles.html
Reply


Messages In This Thread
RE: Smoothly relax to initial particles positions - by josemendez - 15-02-2022, 02:57 PM