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
xnumberThe x position of the point.
ynumberThe y position of the point.
znumberThe z position of the point.

Returns

NameTypeDescription
wxnumberThe x coordinate of the world point.
wynumberThe y coordinate of the world point.
wznumberThe z coordinate of the world point.

See also