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.

ModelImporterClipAnimation.lockRootPositionXZ

public bool lockRootPositionXZ;

Description

Enable to make horizontal root motion be baked into the movement of the bones. Disable to make horizontal root motion be stored as root motion.