added Global Transform ProtoFlux Page |
fix title of section |
||
Line 28: | Line 28: | ||
The global position of the provided * ([[Slot]]) | The global position of the provided * ([[Slot]]) | ||
=== | === Rotation ([[Type:FloatQ|FloatQ]]) === | ||
The global rotation of the provided * ([[Slot]]) | The global rotation of the provided * ([[Slot]]) | ||
Revision as of 20:50, 10 February 2024
Global Transform
Transform
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.
see Coordinate spaces for an in depth explanation on coordinate spaces.
Inputs
* (Slot)
The slot to read a global transform from
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
-
Global transform being used in a moving object code