Api > Quaternion > Operator ( Quaternion * Vector3 )
Operator ( Quaternion * Vector3 )⚓︎
Rotates the point rhs
with rotation lhs
.
LHS Type | Symbol | RHS Type | Result Type |
---|---|---|---|
Quaternion | * | Vector3 | Vector3 |
Usage⚓︎
---@type Quaternion
local lhs;
---@type Vector3
local rhs;
local result = lhs * rhs; -- result is Vector3