PhysicsSettings
Configures physics simulation options.
- Service
game:GetService("PhysicsSettings")- Inherits
- Instance
- Replication
- Never
Behavior
PhysicsSettings configures physics simulation options.
Summary
Members3
Properties2
Whether inactive rigid bodies can enter the sleeping state.
The viscosity used for physics interaction with water.
Methods1
Returns this instance if it is an ExecutionGroup.
Properties
AllowSleep
PhysicsSettings.AllowSleep: boolean = trueWhether inactive rigid bodies can enter the sleeping state.
WaterViscosity
PhysicsSettings.WaterViscosity: number = 0.3The viscosity used for physics interaction with water.
Methods
GetExecutionGroup
PhysicsSettings: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
Inherited47
Instance47
- 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