Collider:getWorldPoint

Convert a point relative to the collider to a point in world coordinates.

wx, wy, wz = Collider:getWorldPoint(x, y, z)

Arguments

NameTypeDescription
xnumber The x position of the point.
ynumber The y position of the point.
znumber The z position of the point.

Returns

NameTypeDescription
wxnumber The x coordinate of the world point.
wynumber The y coordinate of the world point.
wznumber The z coordinate of the world point.

See also