Inverse kinematics (IK) is an animation technique that lets you position the end of a limb, like a hand or foot, and have the software automatically calculate how all the joints in between should bend. Instead of rotating a shoulder, then an elbow, then a wrist one by one, you simply drag the hand where you want it and the arm follows naturally. It’s one of two core approaches to controlling joint chains in 3D (and 2D) character animation, and it dramatically speeds up certain types of movement.
How IK Differs From Forward Kinematics
To understand inverse kinematics, it helps to see what it’s the inverse of. Forward kinematics (FK) works from the root of a limb outward. You rotate the shoulder, and that rotation carries down to the elbow and wrist. But moving the wrist has no effect on the shoulder or elbow. Each joint only influences the ones below it in the chain. This gives animators fine control over arcs and sequencing, since every joint rotation is set by hand.
IK flips that logic. You move the endpoint of the chain (called the “end effector”), and the software solves backward through the joints to figure out the angles that make the pose work. Grab a character’s ankle and pull it to the ground, and the hip and knee rotate automatically to accommodate. The math behind this involves solving for joint angles given a target position in space, which can sometimes produce multiple valid solutions (think of how your elbow could bend inward or outward to reach the same point).
End Effectors and Joint Chains
The end effector is the point at the tip of the chain that you’re positioning. For a leg, that’s typically the ankle or foot. For an arm, it’s the wrist or hand. Everything between the root joint and the end effector forms the “IK chain,” and the solver’s job is to find rotations for every joint in that chain so the end effector lands on its target.
In most animation software, you set up an IK chain by selecting bones in an armature (the character’s skeleton) and applying an IK constraint. You can control how the solver behaves through several settings: stiffness (how resistant a joint is to bending), axis locking (preventing rotation on certain axes), stretch influence (whether bones can lengthen to reach a target), and rotation limits that keep joints from bending in unnatural directions. A “pole target” or “pole vector” tells the solver which way a joint like the knee or elbow should point, preventing the limb from flipping unpredictably.
2D Chains vs. 3D Chains
IK works differently depending on whether the chain operates in two or three dimensions. A 2D chain constrains every joint to a single plane, and each joint can only rotate around one axis. This is the kind of setup you’d see in 2D animation software or in simplified rigs. The entire chain lies flat, and the solver only needs to figure out angles within that plane.
A 3D chain is more complex. Joints act like ball joints with rotation on multiple axes, and the chain doesn’t have to lie on a single plane. This added freedom means the solver has more possible solutions to evaluate, which is why 3D rigs need pole vectors and additional constraints to keep the results predictable. Different software handles this differently. Maya offers multiple solver types, including a rotate plane solver and a spring solver where all joint angles influence each other. Blender’s IK constraint behaves like the rotate plane solver but doesn’t natively replicate the spring solver behavior, which can matter for chains with more than three joints.
Where IK Shines: Foot Planting and Ground Contact
The classic use case for IK is any time a character’s limb needs to stay locked to a specific point in space. Walk cycles are the clearest example. When a foot is planted on the ground during a step, it shouldn’t slide around. With FK, achieving this is tedious: you’d need to counter-animate the entire body’s motion at each joint to keep the foot stationary. With IK, you place the foot target on the ground and the leg just works.
Foot IK (sometimes called foot planting) goes even further in game engines and procedural animation. The system shoots a ray downward from the ankle to detect the ground surface, finds the intersection point and the angle of the terrain, then uses IK to adjust the hip, knee, and ankle so the foot sits flush against the ground. A separate calculation rotates the ankle so the sole aligns with the surface normal, meaning the foot tilts correctly on slopes and stairs. The character’s pelvis height also adjusts so both legs can reach the ground naturally, even on uneven terrain.
This is why characters in modern games can walk over rocks and steps without their feet clipping through the ground or hovering above it. The animation was authored on flat ground, and IK corrects it in real time.
Real-Time IK in Games and VR
Game engines face a specific challenge: IK has to be solved every frame at interactive rates, often on characters with relatively simple skeletons. The most common solver in games is Cyclic Coordinate Descent (CCD), which iterates through each joint in the chain one at a time, adjusting its rotation to move the end effector closer to the target. It’s fast and works well for the low joint counts typical in game characters.
In virtual reality, IK takes on an even bigger role. VR headsets and hand controllers give you the position and orientation of a player’s head and hands, but not their elbows, shoulders, or legs. IK solvers reconstruct the full body pose from these few tracked points. Engines like Unreal and Unity provide built-in support for reading tracker data, and specialized solvers work on tree-structured skeletons (where multiple chains branch from the spine) to position the entire avatar from just three or four tracking inputs. The player’s pelvis position is typically estimated by projecting down from the tracked head position onto a ground plane.
When Animators Choose FK Instead
IK isn’t always the right tool. Forward kinematics is better for movements where the limb swings freely through space, because FK naturally produces smooth arcs. Think of an arm swinging at a character’s side while walking, or a dramatic gesture where the hand sweeps through the air. These motions flow outward from the shoulder, and FK captures that sequential, organic quality with less effort.
IK can produce stiff or mechanical-looking motion if used carelessly, because the solver takes the most direct path to the target. Getting a natural arc requires placing more keyframes on the IK target or blending IK with FK. Most professional rigs include both systems on every limb, with a switch or blend slider that lets the animator use IK for grounded, contact-heavy motion and FK for loose, flowing movement. Arms often spend more time in FK (swinging, gesturing) while legs often spend more time in IK (stepping, planting), but this varies by shot.
The other limitation is that IK solvers can produce unexpected results when targets are placed at extreme positions or when joint limits aren’t set carefully. A knee might suddenly flip to the wrong side, or an elbow might pop into an unnatural angle. Proper pole vectors, joint limits, and stiffness settings prevent most of these issues, but they require deliberate setup during the rigging phase.

