Rotation Matrix
Last updated
Last updated
The Rotation Matrix Node receives three angles as inputs and generates a Matrix4x4 that represents a rotation along the X, Y, and Z axes in the received angles.
Scope: Project, Scene, Function, Prefab.
Rotation matrix on Wikipedia.
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Default Angle X
Float
The angle, in degrees, along the X axis in which the rotation will be performed, if no value is provided in the Angle X in degree
Socket.
Default Angle Y
Float
The angle, in degrees, along the Y axis in which the rotation will be performed, if no value is provided in the Angle Y in degree
Socket.
Default Angle Z
Float
The angle, in degrees, along the Z axis in which the rotation will be performed, if no value is provided in the Angle Z in degree
Socket.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Angle X in degree
Float
The angle, in degrees, along the X axis in which the rotation will be performed.
Angle Y in degree
Float
The angle, in degrees, along the Y axis in which the rotation will be performed.
Angle Z in degree
Float
The angle, in degrees, along the Z axis in which the rotation will be performed.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Rotation Matrix
Matrix4x4
A Matrix4x4 representing rotations along the X, Y, and Z axes in the given angles.