This is the old Animancer v7.4 documentation. Click here for the latest version.

RootMotionRedirect Class

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

Weapons

Attributes

Type Description
AddComponentMenu
HelpURLAttribute