Collider:getWorldPoint
Convert a point relative to the collider to a point in world coordinates.
wx, wy, wz = Collider:getWorldPoint(x, y, z)
Arguments
Name | Type | Description |
x | number | The x position of the point.
|
y | number | The y position of the point.
|
z | number | The z position of the point.
|
Returns
Name | Type | Description |
wx | number | The x coordinate of the world point.
|
wy | number | The y coordinate of the world point.
|
wz | number | The z coordinate of the world point.
|
See also
Collider:getLocalPoint
Collider:getLocalVector
Collider:getWorldVector
Collider