ProtoFlux:SetGlobalPosition: Difference between revisions

From Resonite Wiki
m Fix typo
m YoshBot moved page ProtoFlux:Set Global Position to ProtoFlux:SetGlobalPosition: Automated: removing spaces from ProtoFlux namespace
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Set Global Transform
|Name=Set Global Position
|Category=Wiki
|Category=Transform
|Inputs=
|Inputs=
[
[
Line 14: Line 14:
|}}
|}}


The <code>Set Global Position</code> node sets the input slot's position to the input float3 position vector in [[Coordinate_spaces#Global_vs._Local|global coordinate space]].
The '''Set Global Position''' node sets the input slot's position to the input float3 position vector in [[Coordinate_spaces#Global_vs._Local|global coordinate space]].


== Inputs ==
== Inputs ==
Line 22: Line 22:
Sets the Instance slot's global position when an impulse is received.
Sets the Instance slot's global position when an impulse is received.


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


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


An impulse is fired whenever the Instance slot's position is set after the node receives an impulse. No impulse is fired from this output if the Instance input is null.
An impulse is fired whenever the Instance slot's position is set after the node receives an impulse. No impulse is fired from this output if the Instance input is null.
[[Category:ProtoFlux:Transform]]

Latest revision as of 00:34, 21 August 2025

Set Global Position
*
Next
Instance
Position
Transform

The Set Global Position node sets the input slot's position to the input float3 position vector in global coordinate space.

Inputs

* (Call)

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

Instance (Slot)

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

Outputs

Next (Continuation)

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