Reference API Roblox

Engine API

Website

Related

Reference API Roblox

SolverConvergenceMetricType

Specifies the metric used to identify the least-converged constraint when visualizing physics solver convergence.

Items 2

HistoryNameValueDescription
591IterationBased0

Identifies the least-converged constraint using the estimated force change from an additional, non-applied solver iteration.

591AlgorithmAgnostic1

Identifies the least-converged constraint using a residual-based convergence metric supported across solver algorithms.

Description

Specifies the metric used to determine which constraint is least converged within a solver island when PhysicsSettings.SolverConvergenceVisualizationMode is active. The selected metric controls what data is gathered per constraint and displayed in the per-edge and per-island overlay. The default value, stored on PhysicsSettings.SolverConvergenceMetricType, is SolverConvergenceMetricType.AlgorithmAgnostic.

History 3

Settings