2 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

SolverConvergenceVisualizationMode

Controls whether and at what granularity the physics solver's convergence quality is overlaid as a 3D debug visualization in Roblox Studio. When active, constraint edges connecting assembly root bodies are drawn as colored cylinders; the worst-ranked edge within each simulation island is drawn in red, while all remaining edges stay green. This visualization is only rendered in Studio (not in published experiences). The metric used to rank convergence is selected separately via PhysicsSettings.SolverConvergenceMetricType. Defaults to SolverConvergenceVisualizationMode.Disabled.

Items

NameValueDescription
Disabled0No solver convergence visualization is rendered; the default state.
PerIsland1Renders a single convergence metric label at the center of each simulation island displaying the velocity-stage and position-stage maxima, which may come from different constraints.
PerEdge2Renders convergence metrics as text labels on each aggregated body-pair edge between assembly root bodies.

Disabled

No solver convergence visualization is rendered; the default state.

FieldValue
value0

PerIsland

Renders a single convergence metric label at the center of each simulation island displaying the velocity-stage and position-stage maxima, which may come from different constraints.

FieldValue
value1

PerEdge

Renders convergence metrics as text labels on each aggregated body-pair edge between assembly root bodies.

FieldValue
value2