I am making a rig that has multiple body parts like a caterpillar (pj pug a pillar from poppy playtime chapter 2). However when he moves I want to make it so he moves like a caterpillar. So it would be a chain movement type of thing. Similar to the classic “snake” game.
I don’t know where to start or how I would go about it. The only thing I know is that I have to script the chain effect it cannot be a custom made animation.
This is for a commission so idk if im allowed to leak the model. But basically the rig is just a model with a Head, humanoid root part. And another model inside called “Tails+Torso” that has all the Joints or body parts whatever you call it. Its numbered from Tail1-Tail10 and has a Torso (start of tail) and TailEnd.
Ive tried messing with every constraint and still nothing worked that well. I’ve even tried inverse kinematics which I think would be my best bet but i cant figure out how to do it flawlessly.
Probably the most elementary solution is to make each segment move towards the next segment’s position the same distance the front segment travels each frame. Make sure you iterate in order from the front to back when you do this. If this doesn’t work I can suggest other solutions