Skip to main content

Local Transform Info

local transform info

Use Local Transform Info to get the local space position, rotation, and scale of a Transform component. If a Transform component is parented under another Transform component, it inherits the parent Transform component’s local space coordinates. Local Transform Info is in the Transform category.

Input

NameData TypeDescription
TransformTransformThe Transform component you want to get the local transform information for.

Output

NameData TypeDescription
Local PositionVec3The local position of the Transform component.
Local RotationVec3The local rotation of the Transform component.
Local ScaleVec3The local scale of the Transform component.
Up DirVec3The local Y axis direction (green arrow) of the Transform component.
Right DirVec3The local X axis direction (red arrow) of the Transform component.
Forward DirVec3The local Z axis direction (blue arrow) of the Transform component.

Example

local transform info example

This example monitors the sphere’s local rotation through the Local Pose node. The sphere has been assigned to Head Tracker and has its own self-rotate update according to time. The Local Pose node will only return the sphere’s local transform, which the pos will be fixed to (0, 20, 0) while the rot is just the self-rotate number.

local transform info node