IMotion Interface

Summary

An object with an Animancer.IMotion.AverageAngularSpeed and Animancer.IMotion.AverageVelocity.
graph BT Type["IMotion"] class Type type-node Implementing0["MixerTransition<TMixer, TParameter>"]-.->Type click Implementing0 "/animancer-v7-4/api/Animancer/MixerTransition_2" Implementing1["ManualMixerTransition"]-.->Type click Implementing1 "/animancer-v7-4/api/Animancer/ManualMixerTransition" Implementing2["RootMotion.MotionTransition"]-.->Type click Implementing2 "/animancer-v7-4/api/Animancer.Examples.Locomotion/MotionTransition" Implementing3["ManualMixerTransition<TMixer>"]-.->Type click Implementing3 "/animancer-v7-4/api/Animancer/ManualMixerTransition_1" Implementing4["DirectionalClipTransition"]-.->Type click Implementing4 "/animancer-v7-4/api/Animancer/DirectionalClipTransition" Implementing5["ClipTransitionSequence"]-.->Type click Implementing5 "/animancer-v7-4/api/Animancer/ClipTransitionSequence" Implementing6["LinearMixerTransition"]-.->Type click Implementing6 "/animancer-v7-4/api/Animancer/LinearMixerTransition" Implementing7["ClipTransition"]-.->Type click Implementing7 "/animancer-v7-4/api/Animancer/ClipTransition" Implementing8["MixerTransition2D"]-.->Type click Implementing8 "/animancer-v7-4/api/Animancer/MixerTransition2D"

Syntax

public interface IMotion

Properties

Name Value Summary
AverageAngularSpeed float
The initial UnityEngine.Motion.averageAngularSpeed that the created state will have.
AverageVelocity Vector3
The initial UnityEngine.Motion.averageSpeed that the created state will have.