Quat:direction

Creates a new temporary vec3 facing the forward direction, rotates it by this quaternion, and returns the vector.

v = Quat:direction()

Arguments

None

Returns

NameTypeDescription
vVec3The direction vector.

See also