RotateToValue node
Rotate a GameObject to a specified rotation over a set duration.
Read time 1 minuteLast updated 20 hours ago
Use the RotateToValue node to rotate a GameObject to a specified rotation over a set duration.
Sockets
Socket | Type | Description |
|---|---|---|
| Object | | The GameObject you want to rotate. |
| Value | | The target rotation for the GameObject.
|
| Seconds | | The duration in seconds over which to rotate the GameObject. |
| useLocalRotation | | Enable to rotate the GameObject using its local rotation. Disable to rotate the GameObject using its global rotation. |
| Wait | | Enable to wait for the rotation to complete before it continues to the next node. Disable to continue to the next node immediately. |