Shape:getPose
EditReturns the position and orientation of the Shape in world space, taking into the account the position and orientation of the Collider it's attached to, if any. Shapes that aren't attached to a Collider will return their local offset.
x, y, z, angle, ax, ay, az = Shape:getPose()
Arguments
None
Returns
Name | Type | Description |
x | number | The x position of the Shape, in meters. |
y | number | The y position of the Shape, in meters. |
z | number | The z position of the Shape, in meters. |
angle | number | The number of radians the Shape is rotated around its axis of rotation. |
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. |