Related help topics
Outputs | |||||
Resource | string |
The animation clip resource. | |||
Inputs | |||||
string | Resource |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Value | float |
The value of the specified animation controller variable. | |||
Inputs | |||||
unit | Unit |
The unit whose value you want to retrieve. | |||
string | Variable |
The name of the animation controller variable. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Returns the delta position and rotation computed last frame by the animation controller, when the controller plays an animation with root motion.
|
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Delta Position | vector3 |
The position updates applied to the node. | |||
Delta Rotation | quaternion |
The rotation updates applied to the node. | |||
Desired Position | vector3 |
The new position of the node. | |||
Desired Rotation | quaternion |
The new rotation of the node. | |||
Inputs | |||||
unit | Unit |
The unit whose animated root node position you want to retrieve. | |||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Script node definition in file: core/animation/flow/animation.script_flow_nodes
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Exists | boolean |
True if the curve exists in the Animation system. | |||
Float Value | float |
The current value of the curve. | |||
Inputs | |||||
float | Float Index |
The 0-based float index in the curve. | |||
string | Object |
The name of the animated node | |||
string | Parameter |
The name of the animated parameter. | |||
unit | Unit |
The unit whose animated root node position you want to retrieve. | |||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Script node definition in file: core/animation/flow/animation.script_flow_nodes
Extracts the specified animation controller flow events as out events in order to trigger a flow effect.
|
Variables | |||||
Animation Controller | resource |
The animation controller. |
Available in Unit Flow Editor only.
Outputs | |||||
Played | event |
The output event triggered when the animation is played. | |||
Stopped | event |
The output event triggered when the animation is stopped. | |||
Paused | event |
The output event triggered when the animation is paused. | |||
Resumed | event |
The output event triggered when the animation is resumed. | |||
Inputs | |||||
unit | Unit |
The unit you want to animate. | |||
id | Animation | ||||
float | Speed |
A value to control the playback speed. Cannot be negative. | |||
float | Blendtime |
The blend time to cross fade the animation, in seconds. | |||
boolean | Loop |
If true, the animation will loop. | |||
event | Play |
The input event triggered to play the animation. | |||
event | Stop |
The input event triggered to stop the animation. | |||
event | Pause |
The input event triggered to pause the animation. | |||
event | Resume |
The input event triggered to resume the animation. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Inputs | |||||
unit | Unit |
The unit whose value you want to set. | |||
string | Event |
The name of the animation event to trigger. | |||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Inputs | |||||
unit | Unit |
The unit whose value you want to set. | |||
string | Constraint |
The constraint target. | |||
vector3 | Position |
The new position of the constraint target. | |||
quaternion | Rotation |
The new rotation of the constraint target. | |||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Inputs | |||||
unit | Unit |
The unit whose value you want to set. | |||
string | Variable |
The name of the animation controller variable to set. | |||
float | Value |
The value of the specified animation controller variable. | |||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.