ProtoFlux:Set Global Position Rotation: Difference between revisions

From Resonite Wiki
m Fix category on node visual
Added links.
 
Line 23: Line 23:
Sets the Instance slot's global position and rotation when an impulse is received.
Sets the Instance slot's global position and rotation when an impulse is received.


=== Instance (Slot) ===
=== Instance ([[Slot]]) ===


The slot whose global position and rotation are set. Default is null, the node does not function without this input.
The slot whose global position and rotation are set. Default is null, the node does not function without this input.


=== Position (float3) ===
=== Position ([[Type:float3|float3]]) ===


The global position the input Instance slot is set to. Default is [0;0;0].
The global position the input Instance slot is set to. Default is [0;0;0].


=== Rotation (floatQ) ===
=== Rotation ([[Type:floatQ|floatQ]]) ===


The global rotation the input Instance slot is set to. Default is [0;0;0].
The global rotation the input Instance slot is set to. Default is [0;0;0].

Latest revision as of 12:56, 28 May 2024

Set Global Position Rotation
*
Next
Instance
Position
Rotation
Transform

The Set Global Position Rotation node sets the input slot's position and rotation to the provided values in global coordinate space.

Inputs

* (Call)

Sets the Instance slot's global position and rotation when an impulse is received.

Instance (Slot)

The slot whose global position and rotation are set. Default is null, the node does not function without this input.

Position (float3)

The global position the input Instance slot is set to. Default is [0;0;0].

Rotation (floatQ)

The global rotation the input Instance slot is set to. Default is [0;0;0].

Outputs

Next (Continuation)

An impulse is fired whenever the Instance slot's position and rotation are set after the node receives an impulse. No impulse is fired from this output if the Instance input is null.