Service · inherits Instance
PhysicsSettings
Lets you view debugging features in Roblox's physics engine, found under the Physics tab in Studio's settings menu.
About PhysicsSettings
The PhysicsSettings is a singleton class, which lets you view debugging features in Roblox's physics engine. You can find it under the Physics tab in Studio's settings menu.
Properties 27
AllowSleep
: booleanPluginWhen set to true, physically simulated objects will stop being simulated if they have little to no motion for a set period of time.AreAnchorsShown
: booleanPluginWhen set to true, parts that areBasePart.Anchoredwill show a gray surface outline on the surface of the part's bounding box that is currently facing the ground.AreAssembliesShown
: booleanPluginWhen set to true, each physics assembly is assigned a unique color and thePartassociated with the assembly are outlined with the color. Parts that are attached together byJointInstancewill share the same color.AreAwakePartsHighlighted
: booleanPluginWhen set to true, parts that are actively being physically simulated will have a red outline.AreContactIslandsShown
: booleanPluginWhen set to true, each contact island will renderSelectionBoxadorns on the parts in contact islands, where each contact island is assigned a random color.AreContactPointsShown
: booleanPluginWhen set to true, sphere adorns will be drawn at the contact points of each part where physics interactions are occurring.When set to true, sphere adorns will be drawn at the contact points of each part where physics interactions are occurring. Each sphere also has an arrow drawn in 3D, facing the surface that the contact point is detecting.
Solver Variations
The behavior of this property varies depending on whether Roblox's physics engine is using the
PGS Physics Solver, or theSpring Physics Solver.This is controlled by the
Workspace.PGSPhysicsSolverEnabledproperty.Spring Physics Solver
When
Workspace.PGSPhysicsSolverEnabledis set to false, the contact points are color coded as listed below. The length of the arrow extruding from the sphere depends on how much force the contact point is exerting, and what the contact type is.When
Workspace.PGSPhysicsSolverEnabledis set to true, the contact points are always colored RED, and the length of the arrow will always be 1 stud. There are no special conditions tracked, because the PGS solver does not keep specific lookup tables for the states listed in the Spring Solver.AreJointCoordinatesShown
: booleanPluginWhen set to true, XYZ axes are rendered at theBasePart.CFrameof every part.AreMechanismsShown
: booleanPluginWhen set to true, every individual mechanism of parts is given a unique color.AreModelCoordsShown
: booleanPluginAn ancient property that hasn't work correctly since late 2007. It's supposed to render an XYZ axis on the root part of aModel, but the axis rendering component doesn't work correctly.AreNonAnchorsShown
: booleanPluginWhen set to true, parts that are notBasePart.Anchoredwill be highlighted.When set to true, parts that are not
BasePart.Anchoredwill be highlighted. This property must be set in the Physics tab of Studio's settings menu.AreOwnersShown
: booleanPluginWhen set to true, each player's character is outlined with a unique color, and each part that the player has network ownership over is outlined with the same color.ArePartCoordsShown
: booleanPluginAn ancient property that hasn't worked correctly since late 2007. It's supposed to render a large XYZ axis in the center of eachBasePart, but the axis rendering component doesn't work correctly.AreRegionsShown
: booleanPluginWhen set to true, a cylinder is drawn around each player's character, representing theirPlayer.SimulationRadius.When set to true, a cylinder is drawn around each player's character, representing their
Player.SimulationRadius. Each physically simulated object will check to see which player is closest to that object, and if they are within the player's simulation radius. If both conditions are met, that player will becomes the network owner of that object.AreTerrainReplicationRegionsShown
: booleanPluginWhen set to true, shows terrain replication streaming regions.When set to true, shows terrain replication streaming regions. This property is not scriptable.
AreUnalignedPartsShown
: booleanPluginWhen set to true, parts that aren't aligned on the 1x1x1 grid will be outlined yellow.AreWorldCoordsShown
: booleanPluginAn ancient property that hasn't worked correctly since late 2007. It's supposed to render a large XYZ axis in the center of the world, but the axis rendering component doesn't work correctly.DisableCSGv2
: booleanPluginWhen set to true, Roblox will fall back to using its legacy CSG solver when performing solid model operations.DisableCSGv3ForPlugins
: booleanPluginWhen set to true, disables CSGv3 for plugin solid modeling operations.When set to true, disables CSGv3 for plugin solid modeling operations. This property must be set in the Physics tab of Studio's settings menu.
ForceCSGv2
: booleanPluginHiddenNotReplicatedWhen set to true, forces the use of CSGv2 for solid modeling operations.When set to true, forces the use of CSGv2 for solid modeling operations. This property must be set in the Physics tab of Studio's settings menu.
IsInterpolationThrottleShown
: booleanPluginWhen set to true, shows physics interpolation throttle information.When set to true, shows physics interpolation throttle information. This property is not scriptable.
IsReceiveAgeShown
: booleanPluginThis property is supposed to show theBasePart.ReceiveAgeof a part, but it does not work correctly.IsTreeShown
: booleanPluginWhen set to true, the joint connections of each part, and the states of their underlying primitive components are visualized as a spanning tree.When set to true, the joint connections of each part, and the states of their underlying primitive components are visualized as a spanning tree.
Spanning Tree Table
There are several visualizations made available when this property is set to true:
PhysicsEnvironmentalThrottle
: EnviromentalPhysicsThrottlePluginControls the throttle rate of Roblox's physics engine.Controls the throttle rate of Roblox's physics engine. By default, the physics engine will adjust the physics environment throttle depending on how much work the physics engine is doing, and the current framerate. See the enum page for
EnviromentalPhysicsThrottlefor more information.ShowDecompositionGeometry
: booleanPluginWhen set to true, the underlying collision geometry forPartOperationandMeshPartis rendered.ThrottleAdjustTime
: doublePluginIf thePhysicsSettings.PhysicsEnvironmentalThrottleis set toDefaultAuto, this specifies the maximum time that the physics environmental throttle has to wait before it is allowed to automatically change.UseCSGv2
: booleanPluginIf set to true, version 2 of Roblox's CSG solver will be used instead of version 1.
PhysicsSettings also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.