SpringControl
Applies spring motion to a rig chain.
- Creatable
Instance.new("SpringControl")- Inherits
- RigControlInstance
- Replication
- Standard
Behavior
SpringControl applies spring motion to a rig chain.
Summary
The number of joints included in the controlled chain.
The first Part in the articulated chain controlled by this rig control.
The spring's damping coefficient.
Whether this spring control is enabled.
The Part at the end of the controlled chain.
The gravity vector applied to the simulated rig chain.
The relative priority used to order or process this object.
The smoothing time applied when approaching the rig-control target, in seconds.
The spring's restoring-force coefficient.
The contribution of this pose or rig control to the resulting animation.
Returns this instance if it is an ExecutionGroup.
Properties
ChainLength
SpringControl.ChainLength: number = 1The number of joints included in the controlled chain.
ChainRoot
SpringControl.ChainRoot: BasePart? = nilThe first Part in the articulated chain controlled by this rig control.
Damping
SpringControl.Damping: number = 8The spring's damping coefficient.
Enabled
SpringControl.Enabled: boolean = trueWhether this spring control is enabled.
EndEffector
SpringControl.EndEffector: BasePart? = nilThe Part at the end of the controlled chain.
Gravity
SpringControl.Gravity: Vector3 = Vector3.new(0, -20, 0)The gravity vector applied to the simulated rig chain.
Priority
SpringControl.Priority: number = 0The relative priority used to order or process this object.
SmoothTime
SpringControl.SmoothTime: number = 0The smoothing time applied when approaching the rig-control target, in seconds.
Stiffness
SpringControl.Stiffness: number = 120The spring's restoring-force coefficient.
Weight
SpringControl.Weight: number = 1The contribution of this pose or rig control to the resulting animation.
Methods
GetExecutionGroup
SpringControl:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
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