Collider:getLocalPoint
EditConverts a point from world coordinates into local coordinates relative to the Collider.
Arguments
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. |
Returns
Name | Type | Description |
x | number | The x position of the local-space point. |
y | number | The y position of the local-space point. |
z | number | The z position of the local-space point. |
Arguments
Name | Type | Description |
point | Vec3 | The world point. |
Returns
Name | Type | Description |
x | number | The x position of the local-space point. |
y | number | The y position of the local-space point. |
z | number | The z position of the local-space point. |