Transit by Time
Use Transit by Time to transition from one value to another over a set amount of time. Supported data types: Number, Vec2, Vec3, Vec4, and Color.
Input
Name | Data Type | Description |
---|---|---|
Start | Exec | Start the transition at the From value. |
Pause | Exec | Pause the transition. |
Resume | Exec | Resume the transition. |
Stop | Exec | Stop the transition. |
From | Number | The start value of the transition. |
To | Number | The end value of the transition. |
Duration | Number | The total time of the transition. |
Interpolator | String | The interpolation that the transition should follow. |
Loop | Number | The number of times the transition should loop. |
Ping-pong | Boolean | Determine if the transition goes back and forth or not. |
Output
Name | Data Type | Description |
---|---|---|
Begin | Exec | Execute the next node when the transition begins. |
Stay | Exec | Keep executing the next node when the transition is active. |
End | Exec | Execute the next node when the transition is finished. |
Current | Number | The current interpolated value. |
Example
In this example, a sphere is moving from 0,-10,0 to 0,10,0 following an Ease-in-out interpolation. The Ping-pong boolean has been selected and the Loop has been set to 100 to make the sphere continuously go back and forth.