Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

RotateByValue node

Rotate a GameObject by a specified amount in the x, y, and z directions
Read time 1 minuteLast updated 2 days ago

Use the RotateByValue node to rotate a GameObject by a specified amount in the x, y, and z directions.

Sockets

Socket

Type

Description

Object
GameObject
The GameObject you want to rotate.
Value
Vector3
The amount to rotate the GameObject.
  • x: The amount to rotate the GameObject around the x-axis.
  • y: The amount to rotate the GameObject around the y-axis.
  • z: The amount to rotate the GameObject around the z-axis.
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 the flow continues to the next node.
Disable to continue to the next node immediately.