Skip to content

NavMesh Agent Animator Synchronizer

Synchronizes a NavMeshAgent with Animator root motion each frame.

This action writes agent velocity from Animator delta motion and applies Animator root rotation to the agent transform.

Default update mode: Update Every Frame.

Parameter Description
NavMesh Agent Agent to synchronize.
Animator Animator providing deltaPosition and rootRotation.

Notes

  • Use this when root motion should drive agent movement.
  • The action sets agent.velocity = animator.deltaPosition / Time.deltaTime.
  • The action sets transform rotation to animator.rootRotation.

Example

  1. Configure your Animator with root motion movement.
  2. Add NavMesh Agent Animator Synchronizer in an update state.
  3. Set NavMesh Agent and Animator references.
  4. Keep the action running while movement animation is active.