Collider:getWorldPoint

Edit

Transforms a local point relative to the collider to a point in world coordinates.



Arguments

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

Returns

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

Arguments

NameTypeDescription
pointVec3 The local point.

Returns

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

See also