Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

AnimationUtility.SetGenerateMotionCurves

public static void SetGenerateMotionCurves(AnimationClip clip, bool value);

Parameters

clipAnimationClip to change.
valueSet to true to enable generation of root motion curves.

Description

Sets whether the animation clip generates root motion curves.

Did you find this page useful? Please give it a rating: