Collider:getWorldVector
EditConverts a direction vector from local space to world space.
Arguments
Name | Type | Description |
x | number | The x coordinate of the local vector. |
y | number | The y coordinate of the local vector. |
z | number | The z coordinate of the local vector. |
Returns
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. |
Arguments
Name | Type | Description |
vector | Vec3 | The local vector. |
Returns
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. |
See also
Collider:getLocalVector
Collider:getLocalPoint
Collider:getWorldPoint
Collider