Game dev
Saved & recent

Inverse kinematics

Also called: IK

Related terms: forward kinematics, FK

With forward kinematics you rotate each joint in order, shoulder then elbow then wrist, and see where the hand ends up. Inverse kinematics goes the other way: you say where the hand or foot should be and a solver works out the joint angles.

Games use IK to plant feet on uneven ground and to make hands reach for objects.

Further reading
Epic Games: IK setups
109° 142° foot target hand target animated pose solved knee fixed hip
The walk was animated on flat ground (dashed), so at the stairs its leading foot would sink into the first step and the near hand would hang at its side. For each violet chain, an analytic two-bone solver keeps the hip or shoulder fixed and finds the knee or elbow angle from the two bone lengths and the distance to the target, by the law of cosines. The skinned mesh follows the solved joints.

View in the full Game dev collection