AnimationConstraint
Aligns two BaseParts with an animate-able kinematic or force-based joint.
| Memory category | BaseParts |
|---|
Member index 8
Description
An AnimationConstraint constrains its Attachments so that
they're offset by Transform.
History 22
- 705 Change Default of Transform from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 705 Change Default of from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 705 Change Default of from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 705 Change Default of Transform from CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) to
- 705 Change Default of from CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) to
- 705 Change Default of from CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) to
- 702 Change Default of Transform from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 702 Change Default of from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 702 Change Default of from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 693 Change MemoryCategory of AnimationConstraint from PhysicsParts to BaseParts
- 594 Add
- 594 Add
- 594 Add
- 594 Add
- 569 Add IsKinematic
- 553 Change Default of Transform from to
- 553 Change Default of MaxTorque from to 10000
- 553 Change Default of MaxForce from to 10000
- 549 Add Transform
- 549 Add MaxTorque
- 549 Add MaxForce
- 549 Add AnimationConstraint
Members 8
IsKinematic
| Type | Default | |
|---|---|---|
| bool | false | |
When true, the connected parts follow the
Transform perfectly without
participating in physics simulation. When false, the connected parts
follow the trajectory using forces and torques limited by
MaxForce and
MaxTorque.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 1
- 569 Add IsKinematic
MaxForce
| Type | Default | |
|---|---|---|
| float | 10000 | |
Maximum force magnitude the constraint can apply to achieve its goal. Only
used if IsKinematic is false.
| Thread safety | ReadSafe |
|---|---|
| Category | Compliance |
| Loaded/Saved | true |
MaxTorque
| Type | Default | |
|---|---|---|
| float | 10000 | |
Maximum torque the constraint can use to reach its goal. Only used if
IsKinematic is false.
| Thread safety | ReadSafe |
|---|---|
| Category | Compliance |
| Loaded/Saved | true |
Transform
| Type | Default | |
|---|---|---|
| CFrame | 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 | |
The internal CFrame that is manipulated when the constraint is being animated.
Note that AnimationConstraint transforms are not applied immediately,
but rather as a batch in a parallel job after
RunService.PreSimulation, immediately before physics steps. The
deferred batch update is much more efficient than many immediate updates.
If the AnimationConstraint is part of an animated model with an
Animator, then Transform is
usually overwritten every frame by the Animator after
RunService.PreAnimation and before
RunService.PreSimulation.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 5
- 705 Change Default of Transform from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 705 Change Default of Transform from CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) to
- 702 Change Default of Transform from to CFrame(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 553 Change Default of Transform from to
- 549 Add Transform