Collider:getWorldPoint

Edit

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



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.

Arguments

NameTypeDescription
pointVec3 The local 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