ProtoFlux:Set Local Position Rotation: Difference between revisions

From Resonite Wiki
Create page and add basic information
 
Added links.
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Set Local Position Rotation
|Name=Set Local Position Rotation
|Category=Wiki
|Category=Transform
|Inputs=
|Inputs=
[
[
Line 15: Line 15:
|}}
|}}


The '''Set Local Position Rotation''' node sets the input slot's position and rotation to the provided values in [[Coordinate_spaces#Global_vs._Local|global coordinate space]].
The '''Set Local Position Rotation''' node sets the input slot's position and rotation to the provided values in [[Coordinate_spaces#Global_vs._Local|local coordinate space]].


== Inputs ==
== Inputs ==
Line 23: Line 23:
Sets the Instance slot's local position and rotation when an impulse is received.
Sets the Instance slot's local position and rotation when an impulse is received.


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


The slot whose local position and rotation are set. Default is null, the node does not function without this input.
The slot whose local position and rotation are 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].

Latest revision as of 13:53, 28 May 2024

Set Local Position Rotation
*
Next
Instance
Position
Rotation
Transform

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

Inputs

* (Call)

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

Instance (Slot)

The slot whose local position and rotation are 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].

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.