Quat:direction

Edit

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
vVec3 The direction vector.

See also