Collider:getWorldPoint
EditConvert a point relative to the collider to a point in world coordinates.
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. |
Arguments
Name | Type | Description |
point | Vec3 | The local 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. |