Adjust Rigidbody component solver iterations
Adjust solver iteration counts for a Rigidbody component to improve simulation accuracy.
阅读时间1 分钟最后更新于 2 天前
Adjust solver iteration counts for individual components to improve simulation results.
Rigidbody
?
If a specific Rigidbody component in your scene requires higher simulation accuracy or stability, such as preventing jittering in stacks or ensure joint stability, adjust its solver iteration count individually. Increasing solver iterations uses more CPU time for that specific Rigidbody component. This targeted approach is more efficient than increasing the global solver iteration count, which would affect all Rigidbody components.
To adjust the solver iterations for a specific Rigidbody component, use on that specific component. This setting overrides the global project setting for that Rigidbody component only.
Rigidbody.solverIterationsTo configure the global setting for all Rigidbody components in your project:
- Select Edit > Project Settings to open the Project Settings window.
- Select the Physics > Settings tab.
- Select the tab.GameObject
?
- Adjust the Default Solver Iterations value.