ProtoFlux:LocalTransform: Difference between revisions

From Resonite Wiki
fix page to have content
m YoshBot moved page ProtoFlux:Local Transform to ProtoFlux:LocalTransform: Automated: removing spaces from ProtoFlux namespace
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
|}}
|}}


Local transform is a ProtoFlux node that gives the values for the location, rotation, and scale fields of a [[Slot|Slot]].
The <code>Local Transform</code> node outputs the position, rotation and scale of the input slot in [[Coordinate_spaces#Global_vs._Local|local coordinate space]], i.e. the slot's transform relative to its parent slot.
 
see [[Coordinate spaces]] for an in depth explanation on coordinate spaces.


== Inputs ==
== Inputs ==


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


== Outputs ==
== Outputs ==


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


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


=== Scale ([[Type:Float3|Float3]]) ===
=== Scale ([[Type:Float3|Float3]]) ===
The local scale of the provided * ([[Slot]])
The local 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:26, 21 August 2025

Local Transform
*
Position
Rotation
Scale
Transform

The Local Transform node outputs the position, rotation and scale of the input slot in local coordinate space, i.e. the slot's transform relative to its parent slot.

Inputs

* (Slot)

The slot whose local transform is output.

Outputs

Position (Float3)

The local position of the provided * (Slot).

Rotation (FloatQ)

The local rotation of the provided * (Slot).

Scale (Float3)

The local scale of the provided * (Slot).

Examples