Summary
Demonstrates how you can use Root Motion for some animations but not others.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Examples .Locomotion - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["RootMotion"]
class Type type-node
Syntax
[AddComponentMenu(Strings.ExamplesMenuPrefix + "Locomotion - Root Motion")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(Locomotion) + "/" + nameof(RootMotion))]
public sealed class RootMotion : MonoBehaviour
Examples
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| HelpURLAttribute |
Methods
| Name | Value | Summary |
|---|---|---|
| Play |
void |
Plays the animation at the specified `index` in the
Animancer.Examples.Locomotion.RootMotion._Animations array. |