Version: 2018.4
LanguageEnglish
  • C#

TrackOffset.Auto

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Auto will offset root transforms based on the state of the animator.

Only use this setting to support legacy Animation Tracks. This mode may be deprecated in a future release.

In Auto mode, when the animator bound to the animation track contains an AnimatorController, it offsets all animations similar to ApplySceneOffsets. If no controller is assigned, then all offsets are set to start from a fixed position and orientation, similar to ApplyTransformOffsets. In Auto mode, in most cases, root transforms are not affected by local scale or Animator.humanScale, unless the animator has an AnimatorController and Animator.applyRootMotion is set to true.