Merlins Beard . Animation . Movement Animator
Serialized Fields
Speed Property Name :: string
Idle Threshold :: float
Walking Threshold :: float
Walking Speed :: float
Running Threshold :: float
Running Speed :: float
Properties
Walking Speed :: float
Running Speed :: float
Methods
Set Velocity ( World Velocity :: Vector 3)
Converts the given World Velocity to a local velocity and then sets the Speed property of the Animator accordingly.
Walk ( )
Caps the maximum speed of the Nav Mesh Agent to the Walking Speed.
Run ( )
Caps the maximum speed of the Nav Mesh Agent to the Running Speed.
Unity Methods
Start ( )
Converts the Speed Property Name into a Hash for faster Animator access. Computes the Speed Multiplier for use in converting from the Local Velocity to the Animation Speed.