Simulate chains and gears more accurately
The Direct Solver helps keep long chains, stiff joints, and gears stable in simulation.
Unity 6.5
Set up the Direct Solver in Unity 6.5 Update releaseSuperseded

What changed
Unity feature: Unity Physics Direct Solver
The Direct Solver is an option for setups that are difficult to simulate accurately with the default iterative solver, including stiff joints, large differences in mass, and long chains of connected bodies. A scene can use the Direct Solver on its chain or gears while keeping the iterative solver for other collisions.
Use it
- Set Solver Type on the Unity Physics body and custom joint authoring components. With built-in Rigidbody or Joint authoring, add the Solver Type authoring component.
- Import the Advanced Game Physics Sample – Chain and Gears from the Unity Physics package to see both solvers in one scene.
Requirements and limits
- This is a solver option in the Entities-based Unity Physics package. The iterative solver remains the default. The image shows Unity’s earlier Direct Solver demonstration.