What do you want to achieve?
I want the worm rig to move smoothly using Inverse Kinematics (IK) instead of gliding around.
What is the issue?
The current rig is constructed with BallSocketConstraints, and I'm encountering difficulties with smooth movement. The worm tends to glide around instead of having the desired fluid motion.
What solutions have you tried so far?
I've explored using BallSocketConstraints for the rig but faced issues with smooth movement. Now, I'm looking to implement Inverse Kinematics (IK) to achieve the desired motion.
I've checked the Developer Hub but couldn't find specific guidance on transitioning from BallSocketConstraints to IK for smoother worm movement.
Then, based on the Velocity and the size of the worm we can get the angles based on the sides of our triangle using Law of Cosine with Side-Side-Side (SSS)
With (θ), we can rotate the joints from behind, but you can’t just rotate them based on that angle. Since a worm moves in a “follow the leader” pattern, we’ll need to split the angle accordingly, right.