ProtoFlux:Set Global Transform: Difference between revisions

From Resonite Wiki
Create page and add basic information
 
Added links.
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Set Global Transform
|Name=Set Global Transform
|Category=Wiki
|Category=Transform
|Inputs=
|Inputs=
[
[
Line 24: Line 24:
Sets the Instance slot's global transform when an impulse is received.
Sets the Instance slot's global transform when an impulse is received.


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


The slot whose global transform is set. Default is null, the node does not function without this input.
The slot whose global transform is 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].


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


The global scale the input Instance slot is set to. Default is [1;1;1].
The global scale the input Instance slot is set to. Default is [1;1;1].

Latest revision as of 13:19, 28 May 2024

Set Global Transform
*
Next
Instance
Position
Rotation
Scale
Transform

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

Inputs

* (Call)

Sets the Instance slot's global transform when an impulse is received.

Instance (Slot)

The slot whose global transform is 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].

Scale (float3)

The global scale the input Instance slot is set to. Default is [1;1;1].

Outputs

Next (Continuation)

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