Collider:getWorldVector

Converts a direction vector from local space to world space.

wx, wy, wz = Collider:getWorldVector(x, y, z)

Arguments

NameTypeDescription
xnumberThe x coordinate of the local vector.
ynumberThe y coordinate of the local vector.
znumberThe z coordinate of the local vector.

Returns

NameTypeDescription
wxnumberThe x component of the world vector.
wynumberThe y component of the world vector.
wznumberThe z component of the world vector.

See also