CFrame

Show Deprecated

Constructors

new

new

Parameters

pos: Vector3

new

Parameters

pos: Vector3
lookAt: Vector3

new

Parameters

new

Parameters

new

Parameters

R00: number
R01: number
R02: number
R10: number
R11: number
R12: number
R20: number
R21: number
R22: number

lookAt

Parameters

lookAt: Vector3
Default Value: "Vector3.new(0, 1, 0)"

fromEulerAnglesXYZ

Parameters

rx: number
ry: number
rz: number

fromEulerAnglesYXZ

Parameters

rx: number
ry: number
rz: number

Angles

Parameters

rx: number
ry: number
rz: number

fromOrientation

Parameters

rx: number
ry: number
rz: number

fromAxisAngle

Parameters

fromMatrix

Parameters

Properties

identity

Position

Rotation

LookVector

RightVector

UpVector

XVector

YVector

ZVector

Methods

Inverse

Returns

Lerp

Parameters

goal: CFrame
alpha: number

Returns

Orthonormalize

Returns

ToWorldSpace

Parameters

cf: CFrame

Returns

ToObjectSpace

Parameters

cf: CFrame

Returns

PointToWorldSpace

Parameters

Returns

PointToObjectSpace

Parameters

Returns

VectorToWorldSpace

Parameters

Returns

VectorToObjectSpace

Parameters

Returns

GetComponents

Returns

ToEulerAnglesXYZ

ToEulerAnglesYXZ

ToOrientation

ToAxisAngle

components

Returns