World Transform Info
Use World Transform Info to get the world space position, rotation, and scale of a Transform component. World Transform Info is in the Transform category.
Input
Name | Data Type | Description |
---|---|---|
Transform | Transform | The Transform component you want to get world transform information for. |
Output
Name | Data Type | Description |
---|---|---|
World Position | Vec3 | The world position of the Transform component. |
World Rotation | Vec3 | The world rotation of the Transform component. |
World Scale | Vec3 | The world scale of the Transform component. |
Up Dir | Vec3 | The world Y axis direction (green arrow) of the Transform component. |
Right Dir | Vec3 | The world X axis direction (red arrow) of the Transform component. |
Forward Dir | Vec3 | The world Z axis direction (blue arrow) of the Transform component. |
Example
This example uses the World Pose node to observe the sphere’s world rotation values. The sphere is assigned to head tracking. Though the local transform of the sphere is fixed, the world transform of the sphere is updating by following the head.