LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Animator.deltaPosition

Switch to Manual
public Vector3 deltaPosition;

Description

Gets the avatar delta position for the last evaluated frame.

Animator.applyRootMotion must be enabled for deltaPosition to be calculated.