Animator
Description
An Animator OverNode is used to handle animations by interacting with the Unity Animator Component.
Animator Exposer
This node is used to expose the parameters and attributes of a given input Unity Animator component, which are:
Name | Type | Description |
---|---|---|
Ref | A reference of the input Unity Animator Component | |
RuntimeController | Unity RuntimeController associated to the Animator | |
Avatar | Unity Avatar associated to the Animator | |
Playback Time | Float | The playback position in the recording buffer |
Playback Speed | Float | The playback speed of the Animator. One is the normal playback speed. |
Play Animator
This node is used to play a specific state, defined by a String
.
When you specify a state name, or the string used to generate a hash, it should include the name of the parent layer. For example, if you have a Bounce
state in the Base Layer
, the name is Base Layer.Bounce
.
The normalizedTime
parameter varies between 0 and 1, representing the starting point of the Play Animator.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Animator | A reference of the input Unity Animator Component | |
State | String | Name of the State to be played |
Layer | Integer | The layer index. If layer is -1, it plays the first state with the given state name or hash. |
Normalized Time | Float | The time offset between zero and one. |
Set Bool
This node is used to set the value of the given boolean parameter, to cause transitions between Animator states.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Animator | A reference of the input Unity Animator Component | |
Name | String | Boolean Parameter Name to be set |
Value | Boolean | Boolean Parameter Value to be set |
Set Float
This node is used to set the value of the given float parameter, to cause transitions between Animator states.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Animator | A reference of the input Unity Animator Component | |
Name | String | Float Parameter Name to be set |
Value | Float | Float Parameter Value to be set |
Set Trigger
This node is used to set (i.e. activate) an animation trigger, to cause a change in flow in the state machine of an animator controller.
Unlike bool
s which have the same true/false
option, Trigger
s have a true
option which automatically returns back to false
.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Animator | A reference of the input Unity Animator Component | |
Trigger | String | Trigger Parameter to be set |
Reset Trigger
This node is used to reset the value of an animation trigger, in case a Trigger parameter could still be active.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Animator | A reference of the input Unity Animator Component | |
Trigger | String | Trigger Parameter to be reset |
Set Runtime Controller
This node is used to modify an existing Animator Component, by setting a new RuntimeController.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Animator | A reference of the input Unity Animator Component | |
RuntimeController | RuntimeController to be set |
and produces the following output data:
Name | Type | Description |
---|---|---|
Output | A reference of the modified Unity Animator Component |
Set Avatar
This node is used to modify an existing Animator Component, by setting a new Avatar.
This Flow Node accepts the following input data:
Name | Type | Description |
---|---|---|
Animator | A reference of the input Unity Animator Component | |
Avatar | Avatar to be set. |
and produces the following output data:
Name | Type | Description |
---|---|---|
Output | A reference of the modified Unity Animator Component |
Last updated