Open Asterune
PhysicsSettings

PhysicsSettings

Configures physics simulation options.

Service
game:GetService("PhysicsSettings")
Inherits
Instance
Replication
Never

Behavior

PhysicsSettings configures physics simulation options.

Summary

Members3
Properties2
  • AllowSleep: boolean = trueparallel read

    Whether inactive rigid bodies can enter the sleeping state.

  • WaterViscosity: number = 0.3parallel read

    The viscosity used for physics interaction with water.

Methods1

Properties

AllowSleep

PhysicsSettings.AllowSleep: boolean = true

Whether inactive rigid bodies can enter the sleeping state.

WaterViscosity

PhysicsSettings.WaterViscosity: number = 0.3

The 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

Instance