Collider:getLocalPoint
EditTransforms a point from world coordinates into local coordinates relative to the Collider.
Arguments
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. |
Returns
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. |
Arguments
Name | Type | Description |
point | Vec3 | The world point. |
Returns
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. |