This Node has different versions for Scenes and Scene2Ds. Find in the tabs below the documentation for both versions.
Overview
Set Rotation sets the value of a given Scene Object's Rotation Attribute.
Rotation
Scope: Scene, Function, Prefab.
Attributes
Vector3
The desired Rotation values of the Scene Object, if one is not provided in the Rotation Socket.
Inputs
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Object ID
ObjectID
The ID of the target Scene Object whose Rotation value you wish to set.
A 3-dimensional vector that contains the Rotation components measured in Euler angles along the X, Y, and Z axes of the target Scene Object.
Outputs
Pulse Output (►)
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Set Rotation sets the value of a given Scene2D Object's Rotation Attribute.
Float
The desired Rotation value of the Scene2D Object, if one is not provided in the Rotation Socket.
The ID of the target Scene2D Object whose Rotation value you wish to set.
The Float value of the target Scene2D Object's rotation.
Get Scale
Get Position
Get Rotation
Rotationarrow-up-right on Wikipedia.
Last updated 1 year ago