Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to do CFrame Inverse Kinematics?

Asked by 8 years ago

Hello! I'm currently working on something that will require inverse kinematics to be used with CFrame to make legs move correctly and plant the feet on the ground no matter the angle, my question is what is a method for doing this? I am already knowledgeable in Lua, however my math/vector skills aren't great, I know how it works but putting the equations I've found on google for inverse kinematic methods is something I'm struggling with. At a very basic level, lets say I just want 3 long sticks to be bound together.

Here is an example someone else has done, however the code is not open sourced.

Link to GIF

0
Given an assembly of two joints (shoulder and elbow), and two parts (upper and lower limb) and one end affector (the hand), treat the assembly as triangle and find the angle of the joints. The two sides would be the length of the arm and the third side would be the distance between the shoulder and the end affector. XAXA 1569 — 8y

Answer this question