ProtoFlux:Set Local Transform: Difference between revisions

From Resonite Wiki
m Fix category on node visual
Added links.
 
Line 24: Line 24:
Sets the Instance slot's local transform when an impulse is received.
Sets the Instance slot's local transform when an impulse is received.


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


The slot whose local transform is set. Default is null, the node does not function without this input.
The slot whose local transform is set. Default is null, the node does not function without this input.


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


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


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


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


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


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

Latest revision as of 13:56, 28 May 2024

Set Local Transform
*
Next
Instance
Position
Rotation
Scale
Transform

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

Inputs

* (Call)

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

Instance (Slot)

The slot whose local transform is set. Default is null, the node does not function without this input.

Position (float3)

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

Rotation (floatQ)

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

Scale (float3)

The local 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.