Mat4:getPose
EditReturns the position and rotation of the matrix.
x, y, z, angle, ax, ay, az = Mat4:getPose()
Arguments
None
Returns
Name | Type | Description |
x | number | The x translation. |
y | number | The y translation. |
z | number | The z translation. |
angle | number | The number of radians the matrix rotates around its rotation axis. |
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. |