Motor6D
Creates an animatable joint between two BaseParts. Superseded by AnimationConstraint for avatar/character rigs. Motor6D is no longer used by default for player characters when AvatarJointUpgrade is enabled.
| Memory category | BaseParts |
|---|
Member index 4
Removed member index 2
| History | Member |
|---|
Description
Description
Motor6D joins two BaseParts (Part0 and Part1) together in an animatable way. The Transform property determines the offset between these parts. This can be set manually using RunService.PreSimulation or through an Animator.
Models whose parts are joined by Motor6D are usually referred to as rigs, typically for Humanoids. Motor6D remains appropriate for non-avatar mechanical rigs (doors, turrets, vehicles) where physical simulation is not needed.
Transitioning to AnimationConstraint for Avatar rigs
As of the
Avatar Joint Upgrade,
R15 player characters spawn with
AnimationConstraints instead of Motor6Ds when
AvatarJointUpgrade is enabled (the
default for new experiences). Code that assumes character joints are Motor6Ds
— such as character:FindFirstChildOfClass("Motor6D") or
joint:IsA("Motor6D") — will not find joints on upgraded characters. Use
AnimationConstraint for new avatar rig code. See the migration notes
on the AnimationConstraint page.
History 21
- 728 Add EnableSkinning
- 726 Change Default of from CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) to
- 726 Remove
- 726 Remove
- 705 Change Default of from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 705 Change Default of from CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) to
- 702 Change Default of from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 693 Change MemoryCategory of Motor6D from PhysicsParts to BaseParts
- 636 Add
- 636 Add
- 553 Change Default of from to
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of ParentName from ReadOnly to ReadSafe
- 486 Change ThreadSafety of ChildName from ReadOnly to ReadSafe
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of ParentName from to ReadOnly
- 462 Change ThreadSafety of ChildName from to ReadOnly
- 427 Add ParentName
- 427 Add ChildName
- 300 Add
- 47 Add Motor6D
Members 4
ChildName
| Type | Default | |
|---|---|---|
| string | ||
| Thread safety | ReadSafe |
|---|---|
| Category | Animatable |
| Loaded/Saved | false |
EnableSkinning
| Type | Default | |
|---|---|---|
| bool | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Behavior |
| Loaded/Saved | false |
History 1
- 728 Add EnableSkinning
ParentName
| Type | Default | |
|---|---|---|
| string | ||
| Thread safety | ReadSafe |
|---|---|
| Category | Animatable |
| Loaded/Saved | false |
History 3
- 486 Change ThreadSafety of ParentName from ReadOnly to ReadSafe
- 462 Change ThreadSafety of ParentName from to ReadOnly
- 427 Add ParentName