989onan moved page ProtoFlux:Local Transform to Template:GetDirectionNodePage: Misspelled title: oops! Tag: New redirect |
m YoshBot moved page ProtoFlux:Local Transform to ProtoFlux:LocalTransform: Automated: removing spaces from ProtoFlux namespace |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
# | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Local Transform | |||
|Category=Transform | |||
|Inputs= | |||
[ | |||
{"Name":"*", "Type":"Slot"} | |||
] | |||
|Outputs= | |||
[ | |||
{"Name":"Position", "Type":"float3"}, | |||
{"Name":"Rotation", "Type":"floatQ"}, | |||
{"Name":"Scale", "Type":"float3"} | |||
] | |||
|}} | |||
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. | |||
== Inputs == | |||
=== * ([[Slot]]) === | |||
The slot whose local transform is output. | |||
== Outputs == | |||
=== Position ([[Type:Float3|Float3]]) === | |||
The local position of the provided * ([[Slot]]). | |||
=== Rotation ([[Type:FloatQ|FloatQ]]) === | |||
The local rotation of the provided * ([[Slot]]). | |||
=== Scale ([[Type:Float3|Float3]]) === | |||
The local scale of the provided * ([[Slot]]). | |||
== Examples == | |||
<gallery widths=480px heights=480px> | |||
File:Protoflux_example_local_transform.webp|Local transform being used in a moving object code | |||
</gallery> | |||
[[Category:ProtoFlux:Transform]] | |||
[[Category:ContinuouslyChanging nodes]] |
Latest revision as of 00:26, 21 August 2025
Local Transform
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
-
Local transform being used in a moving object code