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
The joint transform relative to Part0.
The joint transform relative to Part1.
The joint's target rotation angle.
The maximum angular step used when approaching the desired joint angle.
The first Part connected by the joint or constraint.
The second Part connected by the joint or constraint.
The animation transform applied in addition to the joint offsets.
Returns this instance if it is an ExecutionGroup.
Sets the joint's target angle.
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 = 0The joint's target rotation angle.
MaxVelocity
Motor6D.MaxVelocity: number = 0The maximum angular step used when approaching the desired joint angle.
Part0
Motor6D.Part0: BasePart? = nilThe first Part connected by the joint or constraint.
Part1
Motor6D.Part1: BasePart? = nilThe 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
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying