Layer:getPose
EditReturns the position and orientation of the layer.
x, y, z, angle, ax, ay, az = Layer:getPose()Arguments
None
Returns
| Name | Type | Description |
| x | number | The x position. |
| y | number | The y position. |
| z | number | The z position. |
| angle | number | The amount of rotation around the axis of rotation, in radians. |
| ax | number | The x component of the axis of rotation. |
| ay | number | The y component of the axis of rotation. |
| az | number | The z component of the axis of rotation. |
Notes
Units are in meters.