Spider mod with legs that lands with raycast? (like inverse kinematic)

could someone give me an idea on how these work:

his spider has a walking animation and gives a inverse kinematic effect as well. I’ve never seen such a well done spider in roblox.

Questions:

  1. How is he able to play the animation while modifying the offsets of the legs? Motor6D?
  2. How is he able to calculate the offsets, or what is the formula for his inverse kinematics?

are you able to give any more questions and ideas on how this works fundamentally ?

  1. I can really tell there is no animations for this spider and it’s just an IK. However you can use IK with animations like usually and it will work
  2. You can see that he has created an Inverse Kinematics for that rig, and he is just setting the position of ik target (foot). You can find the function on 1:22. Suggest to watch the video paying attention to 1:00 to 3:00 because there are calculations & functions you need.
    After all, he is calculating offsets based on Raycast position, Root of the leg and StepForward argument

I’m not a professional at IK and if i’m wrong, i’m sorry

Ik doesnt really matter. IK control should work same as my CCDIK module. They achieve the same goal.

The logic and foot position interpolation can be found here for 2 leg mech. All you need to do is scale up (easier said than done).