Collider:getWorldPoint
EditTransforms a local point relative to the collider to a point in world coordinates.
Arguments
Name | Type | Description |
x | number | The x component of the local point. |
y | number | The y component of the local point. |
z | number | The z component of the local point. |
Returns
Name | Type | Description |
wx | number | The x component of the world point. |
wy | number | The y component of the world point. |
wz | number | The z component of the world point. |
Arguments
Name | Type | Description |
point | Vec3 | The local point. |
Returns
Name | Type | Description |
wx | number | The x component of the world point. |
wy | number | The y component of the world point. |
wz | number | The z component of the world point. |