This node is used for object rotation with the help of nodes such as Spline Sampler, Axis-Angle, Rotation Math. Note: for common rotation use cases the best choice is often the Rotator node.
Target | Set the target object |
Execute - On Start |
If toggled on the node will execute as soon as the game starts |
Enabled | Enable or disable the node. Disabled nodes cannot be executed |
Affect Physical | If disabled the node will only rotate the visual properties of the object |
Loop | Repeat the rotation automatically as soon as it is completed |
Allow Override | When toggled on the rotation can be interrupted before completing. This can happen if the node is disabled or a new rotation is executed. |
Teleport | The teleport toggle can improve the interpolation between start and end point when making a large rotation over a short time |
Operation | Set the operation of the rotator,: Rotate, Set Rotation, or Set Rotation Offset - jump to Operation Types |
Space | Set the space: Local, Parent or Global - jump to Space Types |
Rotation | Input a value from another node to use as the rotation |
Duration | Set the duration for the rotation |
Tween | Set how the rotation should interpolate between start and end points |
On Loop/End | Send signals to other nodes or objects when the rotation is complete |
Rotate | Rotate the object from the starting rotation to the final rotation over the duration. If the node is executed again the rotation will happen again with the last end rotation now the starting rotation. |
Set Rotation | Rotate the object from the current rotation to the final rotation over the duration. If the node is executed again with the same values nothing will happen as the object has already been rotated to the set rotation. |
Set Rotation Offset | With Set Rotation Offset the node will "displace" the object from its current rotation for a certain amount (the rotation value). If the node is executed again with the same values an offset will not happen as the object has already been placed to the set rotation. Good e.g when used in conjunction with the Wave. |
Local | Rotations will align with the rotation of the target object |
Parent | Rotations will align with the rotation of the target object's parent (only if the object is glued to another object) |
Global | Rotations will align with global X, Y & Z coordinates |
Here's a link to a demo that shows how to d use the Advanced Rotator node: