Skip to content
Roblox API Reference

PhysicsSettings

Lets you view debugging features in Roblox's physics engine, found under the Physics tab in Studio's settings menu.
  • Not creatable
  • Not replicated
  • Service
Memory category
Instances
Own members
56
Inherited members
75
Subclasses
0
Siblings
608

Properties79

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byPhysicsSettings56

Property categoryDisplay

  • PhysicsSettings.AreAnchorsShown: boolean
    When set to true, parts that are BasePart.Anchored will show a gray surface outline on the surface of the part's bounding box that is currently facing the ground.
    • Plugin security
  • PhysicsSettings.AreAssembliesShown: boolean
    When set to true, each physics assembly is assigned a unique color and the Part associated with the assembly are outlined with the color. Parts that are attached together by JointInstance will share the same color.
    • Plugin security
  • PhysicsSettings.AreAssemblyCentersOfMassShown: boolean
    When set to true, shows the center of mass for each physics assembly.
    • Roblox script security
  • PhysicsSettings.AreAwakePartsHighlighted: boolean
    When set to true, parts that are actively being physically simulated will have a red outline.
    • Plugin security
  • PhysicsSettings.AreBodyTypesShown: boolean
    When set to true, Part will be outlined with a specific color, depending on the state of its root simulation body.
    • Plugin security
  • PhysicsSettings.AreCollisionCostsShown: boolean
    When set to true, displays collision cost annotations for parts.
    • Roblox script security
  • PhysicsSettings.AreConstraintForcesShownForSelectedOrHoveredInstances: boolean
    When set to true, draws force vectors for constraints on selected or hovered instances.
    • Roblox script security
  • PhysicsSettings.AreConstraintTorquesShownForSelectedOrHoveredInstances: boolean
    When set to true, draws torque vectors for constraints on selected or hovered instances.
    • Roblox script security
  • PhysicsSettings.AreContactForcesShownForSelectedOrHoveredAssemblies: boolean
    When set to true, draws contact force vectors for selected or hovered assemblies.
    • Roblox script security
  • PhysicsSettings.AreContactIslandsShown: boolean
    When set to true, each contact island will render SelectionBox adorns on the parts in contact islands, where each contact island is assigned a random color.
    • Plugin security
  • PhysicsSettings.AreContactPointsShown: boolean
    When set to true, sphere adorns will be drawn at the contact points of each part where physics interactions are occurring.
    • Plugin security
  • PhysicsSettings.AreGravityForcesShownForSelectedOrHoveredAssemblies: boolean
    When set to true, draws gravity force vectors for selected or hovered assemblies.
    • Roblox script security
  • PhysicsSettings.AreJointCoordinatesShown: boolean
    When set to true, XYZ axes are rendered at the BasePart.CFrame of every part.
    • Plugin security
  • PhysicsSettings.AreMagnitudesShownForDrawnForcesAndTorques: boolean
    When set to true, displays magnitude labels alongside drawn force and torque vectors.
    • Roblox script security
  • PhysicsSettings.AreMechanismsShown: boolean
    When set to true, every individual mechanism of parts is given a unique color.
    • Plugin security
  • PhysicsSettings.AreModelCoordsShown: boolean
    An ancient property that hasn't work correctly since late 2007. It's supposed to render an XYZ axis on the root part of a Model, but the axis rendering component doesn't work correctly.
    • Plugin security
  • PhysicsSettings.AreNonAnchorsShown: boolean
    When set to true, parts that are not BasePart.Anchored will be highlighted.
    • Plugin security
  • PhysicsSettings.AreOwnersShown: boolean
    When 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.
    • Plugin security
  • PhysicsSettings.ArePartCoordsShown: boolean
    An ancient property that hasn't worked correctly since late 2007. It's supposed to render a large XYZ axis in the center of each BasePart, but the axis rendering component doesn't work correctly.
    • Plugin security
  • PhysicsSettings.AreRegionsShown: boolean
    When set to true, a cylinder is drawn around each player's character, representing their Player.SimulationRadius.
    • Plugin security
  • PhysicsSettings.AreSolverIslandsShown: boolean
    When set to true, each solver island is highlighted with a unique color.
    • Roblox script security
  • PhysicsSettings.AreTerrainReplicationRegionsShown: boolean
    When set to true, shows terrain replication streaming regions.
    • Plugin security
  • PhysicsSettings.AreTimestepsShown: boolean
    When set to true, shows physics timestep information for assemblies.
    • Roblox script security
  • PhysicsSettings.AreUnalignedPartsShown: boolean
    When set to true, parts that aren't aligned on the 1x1x1 grid will be outlined yellow.
    • Plugin security
  • PhysicsSettings.AreWorldCoordsShown: boolean
    An 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.
    • Plugin security
  • PhysicsSettings.CollisionGeomDrawOriginalParts: boolean
    • Roblox script security
  • PhysicsSettings.CollisionGeomMatchPartTransparency: boolean
    • Roblox script security
  • PhysicsSettings.CollisionGeomOverlayTransparency: number
    • Roblox script security
  • PhysicsSettings.CollisionGeomShowCollidableParts: boolean
    • Roblox script security
  • PhysicsSettings.CollisionGeomShowCollisionGroup: string
    • Roblox script security
  • PhysicsSettings.CollisionGeomShowQueryableParts: boolean
    • Roblox script security
  • PhysicsSettings.CollisionGeomShowTouchableParts: boolean
    • Roblox script security
  • PhysicsSettings.DisableCSGv2: boolean
    When set to true, Roblox will fall back to using its legacy CSG solver when performing solid model operations.
    • Plugin security
  • PhysicsSettings.DisableCSGv3ForPlugins: boolean
    When set to true, disables CSGv3 for plugin solid modeling operations.
    • Plugin security
  • PhysicsSettings.DrawConstraintsNetForce: boolean
    When set to true, draws the net force from all constraints on selected or hovered assemblies.
    • Roblox script security
  • PhysicsSettings.DrawContactsNetForce: boolean
    When set to true, draws the net force from all contacts on selected or hovered assemblies.
    • Roblox script security
  • PhysicsSettings.DrawShapecast: boolean
    • Plugin security
  • PhysicsSettings.DrawTotalNetForce: boolean
    When set to true, draws the total net force on selected or hovered assemblies.
    • Roblox script security
  • PhysicsSettings.EnableForceVisualizationSmoothing: boolean
    When set to true, enables temporal smoothing for force and torque visualizations.
    • Roblox script security
  • PhysicsSettings.FluidForceDrawScale: number
    Sets the scale of arrows drawn for aerodynamic force visualization.
    • Roblox script security
  • PhysicsSettings.ForceCSGv2: boolean
    When set to true, forces the use of CSGv2 for solid modeling operations.
    • Hidden
    • Not replicated
    • Plugin security
  • PhysicsSettings.ForceDrawScale: number
    Sets the scale of arrows drawn for force visualization.
    • Roblox script security
  • PhysicsSettings.ForceVisualizationSmoothingSteps: number
    Controls the number of frames used for force visualization smoothing.
    • Roblox script security
  • PhysicsSettings.IsInterpolationThrottleShown: boolean
    When set to true, shows physics interpolation throttle information.
    • Plugin security
  • PhysicsSettings.IsReceiveAgeShown: boolean
    This property is supposed to show the BasePart.ReceiveAge of a part, but it does not work correctly.
    • Plugin security
  • PhysicsSettings.IsTreeShown: boolean
    When set to true, the joint connections of each part, and the states of their underlying primitive components are visualized as a spanning tree.
    • Plugin security
  • PhysicsSettings.ShowDecompositionGeometry: boolean
    When set to true, the underlying collision geometry for PartOperation and MeshPart is rendered.
    • Plugin security
  • PhysicsSettings.ShowFluidForcesForSelectedOrHoveredMechanisms: boolean
    When set to true, enables aerodynamic visualization for selected or hovered mechanisms in Studio's play and run modes.
    • Roblox script security
  • PhysicsSettings.ShowInstanceNamesForDrawnForcesAndTorques: boolean
    When set to true, displays instance names alongside drawn force and torque vectors.
    • Roblox script security
  • PhysicsSettings.SolverConvergenceMetricType: Enum.SolverConvergenceMetricType
    Controls which metric is used for solver convergence visualization.
    • Roblox script security
  • PhysicsSettings.SolverConvergenceVisualizationMode: Enum.SolverConvergenceVisualizationMode
    Controls the visualization mode for solver convergence.
    • Roblox script security
  • PhysicsSettings.TorqueDrawScale: number
    Sets the scale of arrows drawn for torque visualization.
    • Roblox script security
  • PhysicsSettings.UseCSGv2: boolean
    If set to true, version 2 of Roblox's CSG solver will be used instead of version 1.
    • Plugin security

Property categoryPerformance

  • PhysicsSettings.AllowSleep: boolean
    When set to true, physically simulated objects will stop being simulated if they have little to no motion for a set period of time.
    • Plugin security
  • PhysicsSettings.PhysicsEnvironmentalThrottle: Enum.EnviromentalPhysicsThrottle
    Controls the throttle rate of Roblox's physics engine.
    • Plugin security
  • PhysicsSettings.ThrottleAdjustTime: number
    If the PhysicsSettings.PhysicsEnvironmentalThrottle is set to DefaultAuto, this specifies the maximum time that the physics environmental throttle has to wait before it is allowed to automatically change.
    • Plugin security

Methods42

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39

Events10

Inherited fromObject1
Inherited fromInstance9