Trying to rotate the legs independently from the torso

Hello, so as the title says I am trying to do that, so my approach is basically racyasting (world) down and then constructing a cframe that has rotation and then taking the rotation the legs are at and then subtracting them to get the difference, and then rotate the legs by the difference…

so for example if the legs are on the ground 90 and the raycast returns 90 then it cancels out cause its zero so no need to rotate

But I’m having trouble actually doing that here is my code

just join the motor6d of the legs to the root part its that easy! I hope… never tried it.

2 Likes

done did that.

1 Like