Snake movement with Spline IK
I am working on a game in Unity, and there is something like a snake movement I want to implement. After many thoughts and research I have come to the conclusion that I have to use a bones set which will be attached to a tracking spline tag in Cheetah.
Lets say that the spline is a circle and the snake is a parallelogram plane (with 5 sections).
The thing is that I can not find out how to properly set up my bones to produce a smooth movement. I have tried both with simple bones and with an IK setup but it seems that I am doing something wrong and the plane comes totally distorted.
I am attaching a tracking spline to each joint and record a keyframe for the start and end of the spline, with an increased step for each additional joint. I am also using the 3d solver for IK (2d does not seem to work).
Do you see any mistake in these steps?
I am working on a game in Unity, and there is something like a snake movement I want to implement. After many thoughts and research I have come to the conclusion that I have to use a bones set which will be attached to a tracking spline tag in Cheetah.
Lets say that the spline is a circle and the snake is a parallelogram plane (with 5 sections).
The thing is that I can not find out how to properly set up my bones to produce a smooth movement. I have tried both with simple bones and with an IK setup but it seems that I am doing something wrong and the plane comes totally distorted.
I am attaching a tracking spline to each joint and record a keyframe for the start and end of the spline, with an increased step for each additional joint. I am also using the 3d solver for IK (2d does not seem to work).
Do you see any mistake in these steps?