Summary
Takes the root motion from the
UnityEngine.Animator attached to the same UnityEngine.GameObject and applies
it to a UnityEngine.Rigidbody on a different object.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Examples .StateMachines - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["RootMotionRedirect"]
class Type type-node
Syntax
[AddComponentMenu(Strings.ExamplesMenuPrefix + "Brains - Root Motion Redirect")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(StateMachines) + "/" + nameof(RootMotionRedirect))]
public sealed class RootMotionRedirect : MonoBehaviour
Examples
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| HelpURLAttribute |