Collider:getLocalVector
EditTransforms a direction vector from world space to local space.
Arguments
Name | Type | Description |
wx | number | The x component of the world vector. |
wy | number | The y component of the world vector. |
wz | number | The z component of the world vector. |
Returns
Name | Type | Description |
x | number | The x component of the local vector. |
y | number | The y component of the local vector. |
z | number | The z component of the local vector. |
Arguments
Name | Type | Description |
vector | Vec3 | The world vector. |
Returns
Name | Type | Description |
x | number | The x component of the local vector. |
y | number | The y component of the local vector. |
z | number | The z component of the local vector. |