22-04-2021, 12:23 PM
(22-04-2021, 12:00 PM)josemendez Wrote: Judging from the videos, you could use a rod to do this. Note that rods do not have to be rigid. You can control their bending, twisting, shearing stiffness and plasticity. Think of them as a "more powerful" rope, however they can also behave like rope.
The "snake-like" behavior in the video probably comes from imposing a custom constraint on particles: they have to follow the path of the previous particle in the body, up to some percentage. At 0% they behave freely, like a rope. At 100%, they follow the exact path taken by the snake's head. You can implement this by adjusting particle velocities.
Thank you very much.
Documentation says that Rods can't change length in runtime. But as we all know, any snake want to eat something and grow larger May be there is some way to implement this using Rod?