Operator ( Quaternion * Quaternion )
7/14/25Less than 1 minute
Operator ( Quaternion * Quaternion )
Combines rotations lhs and rhs.
| LHS Type | Symbol | RHS Type | Result Type |
|---|---|---|---|
| Quaternion | * | Quaternion | Quaternion |
Usage
---@type Quaternion
local lhs;
---@type Quaternion
local rhs;
local result = lhs * rhs; -- result is QuaternionExtra Detail
Rotating by the product lhs * rhs is the same as applying the two rotations in sequence: lhs first and then rhs, relative to the reference frame resulting from lhs rotation. Note that this means rotations are not commutative, so lhs * rhs does not give the same rotation as rhs * lhs.

