AnimationMap is used to map an animation state to a set of motion parameters that help RAIN to determine when to transition to a given state. More...
Public Attributes | |
string | animationState |
The animationState associated with this map. | |
bool | isTurning |
A flag indicating whether this state is used for rotation rather than linear movement. | |
float | baseSpeed |
The base speed (either linear or angular depending on isTurning) at which we expect a normal animation speed playback to move the gameObject. | |
float | minSpeed |
The minimum requested linear speed to which this animation applies (e.g., a running animation should only be played if moving at a certain rate) | |
float | maxSpeed |
The maximum requested linear speed to which this animation applies (e.g., a walking animation should only be played if not moving too fast) | |
float | minRotate |
The minimum requested rotation to which this animation applies. (e.g., an animation may not be appropriate if the turn rate is too low) | |
float | maxRotate |
The maximum requested rotation to which this animation applies. (e.g., an animation may not be appropriate if the turn rate is too high) |
AnimationMap is used to map an animation state to a set of motion parameters that help RAIN to determine when to transition to a given state.
The animationState associated with this map.
The base speed (either linear or angular depending on isTurning) at which we expect a normal animation speed playback to move the gameObject.
A flag indicating whether this state is used for rotation rather than linear movement.
The maximum requested rotation to which this animation applies. (e.g., an animation may not be appropriate if the turn rate is too high)
The maximum requested linear speed to which this animation applies (e.g., a walking animation should only be played if not moving too fast)
The minimum requested rotation to which this animation applies. (e.g., an animation may not be appropriate if the turn rate is too low)
The minimum requested linear speed to which this animation applies (e.g., a running animation should only be played if moving at a certain rate)