Skip to main content

Animator.ApplyBuiltinRootMotion()

Apply the default Root Motion.

Usage

---@type Animator
local animator;


animator.ApplyBuiltinRootMotion()

Extra Detail

Applies the default root motion. Use this in MonoBehaviour.OnAnimatorMove or in StateMachineBehaviour.OnStateMove on frames where you don't want to handle the root motion manually.