Collider:getPose

Returns the position and orientation of the Collider.

x, y, z, angle, ax, ay, az = Collider:getPose()

Arguments

None

Returns

NameTypeDescription
xnumberThe x position of the Collider, in meters.
ynumberThe y position of the Collider, in meters.
znumberThe z position of the Collider, in meters.
anglenumberThe number of radians the Collider is rotated around its axis of rotation.
axnumberThe x component of the axis of rotation.
aynumberThe y component of the axis of rotation.
aznumberThe z component of the axis of rotation.

See also