Open Asterune
Motor6D

Motor6D

Connects two Parts with local transforms and an animation transform.

Creatable
Instance.new("Motor6D")
Inherits
Instance
Replication
Standard

Behavior

Motor6D connects two Parts with local transforms and an animation transform.

Summary

Members9
Properties7
Methods2

Properties

C0

Motor6D.C0: CFrame = CFrame.new(0, 0, 0)

The joint transform relative to Part0.

C1

Motor6D.C1: CFrame = CFrame.new(0, 0, 0)

The joint transform relative to Part1.

DesiredAngle

Motor6D.DesiredAngle: number = 0

The joint's target rotation angle.

MaxVelocity

Motor6D.MaxVelocity: number = 0

The maximum angular step used when approaching the desired joint angle.

Part0

Motor6D.Part0: BasePart? = nil

The first Part connected by the joint or constraint.

Part1

Motor6D.Part1: BasePart? = nil

The second Part connected by the joint or constraint.

Transform

Motor6D.Transform: CFrame = CFrame.new(0, 0, 0)

The animation transform applied in addition to the joint offsets.

Methods

GetExecutionGroup

Motor6D:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

SetDesiredAngle

Motor6D:SetDesiredAngle(value: number): ()

Sets the joint's target angle.

Inherited members

Inherited47

Instance