QFrame
CFrame representation as a quaternion. Alternative representation of a CFrame.
Functions
new
Constructs a new QFrame
isQFrame
QFrame.isQFrame(value: any) → booleanReturns whether a value is a QFrame
fromCFrameClosestTo
Gets the QFrame closest to that CFrame
fromVector3
Constructs a QFrame from a position and another QFrame rotation.
toCFrame
Converts the QFrame to a CFrame
toPosition
Converts the QFrame to a Vector3 position
isNAN
Returns true if the QFrame contains a NaN value.
__unm
Inverts the QFrame
__add
Adds the QFrames together
__sub
Subtracts the QFrames together
__pow
Takes the QFrame to the power, using quaternion power formula.