ProtoFlux:GlobalTransform: Difference between revisions

From Resonite Wiki
added Global Transform ProtoFlux Page
 
m YoshBot moved page ProtoFlux:Global Transform to ProtoFlux:GlobalTransform: Automated: removing spaces from ProtoFlux namespace
 
(3 intermediate revisions by 3 users not shown)
Line 14: Line 14:
|}}
|}}


Global transform is a ProtoFlux node that gives the transform values for a slot as if it were in the same place visually but parented under the root. Another way to think of this is the slot's position relative to 0,0,0 in the world instead of what's underneath.
The <code>Global Transform</code> node outputs the position, rotation and scale of the input slot in [[Coordinate_spaces#Global_vs._Local|global coordinate space]], i.e. the slot's transform relative to the world root slot.
 
see [[Coordinate spaces]] for an in depth explanation on coordinate spaces.


== Inputs ==
== Inputs ==


=== * ([[Slot]]) ===
=== * ([[Slot]]) ===
The slot to read a global transform from
The slot whose global transform is output.


== Outputs ==
== Outputs ==


=== Position ([[Type:Float3|Float3]]) ===
=== Position ([[Type:Float3|Float3]]) ===
The global position of the provided * ([[Slot]])
The global position of the provided * ([[Slot]]).


=== Position ([[Type:FloatQ|FloatQ]]) ===
=== Rotation ([[Type:FloatQ|FloatQ]]) ===
The global rotation of the provided * ([[Slot]])
The global rotation of the provided * ([[Slot]]).


=== Scale ([[Type:Float3|Float3]]) ===
=== Scale ([[Type:Float3|Float3]]) ===
The global scale of the provided * ([[Slot]])
The global scale of the provided * ([[Slot]]).


== Examples ==
== Examples ==
Line 41: Line 39:


[[Category:ProtoFlux:Transform]]
[[Category:ProtoFlux:Transform]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 00:21, 21 August 2025

Global Transform
*
Position
Rotation
Scale
Transform

The Global Transform node outputs the position, rotation and scale of the input slot in global coordinate space, i.e. the slot's transform relative to the world root slot.

Inputs

* (Slot)

The slot whose global transform is output.

Outputs

Position (Float3)

The global position of the provided * (Slot).

Rotation (FloatQ)

The global rotation of the provided * (Slot).

Scale (Float3)

The global scale of the provided * (Slot).

Examples