Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

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
GameObject
The GameObject you want to rotate.
Value
Vector3
The target rotation for the GameObject.
  • x: The target rotation around the x-axis in degrees.
  • y: The target rotation around the y-axis in degrees.
  • z: The target rotation around the z-axis in degrees.
Seconds
float
The duration in seconds over which to rotate the GameObject.
useLocalRotation
bool
Enable to rotate the GameObject using its local rotation.
Disable to rotate the GameObject using its global rotation.
Wait
bool
Enable to wait for the rotation to complete before it continues to the next node.
Disable to continue to the next node immediately.