Game dev
Saved & recent

Motion warping

Related terms: warp target, root motion, alignment

Adjusting an animation’s root movement so an action reaches a target in the level. A lunge recorded to travel two meters can be adapted to an enemy standing slightly nearer or farther away. The correction can also turn the character to face the target.

The adjustment happens during a chosen part of the clip, called a warping window. This lets one authored action fit several interaction positions. Large corrections can visibly stretch or distort the movement, so target placement and the allowed adjustment range still need care. Limb contact may need additional IK.

Further reading
Epic Games
2 m authored end enemy warping window frame 0 frame 12 original root warped root warp target
Dots mark the root at the same 13 playback times in the authored and warped clips. Inside the warping window, frames 3 to 9, the correction is spread in proportion to the authored root movement: that part of the lunge stretches by 25% and turns 19° so the blade tip ends on the enemy.

View in the full Game dev collection