Version: Unity 6.2 (6000.2)
Language : English
Use Rigidbody sleeping to improve physics performance
Optimize Rigidbody component collision detection modes

Adjust Rigidbody component solver iterations

Adjust solver iteration counts for individual RigidbodyA component that allows a GameObject to be affected by simulated gravity and other forces. More info
See in Glossary
components to improve simulation results.

If a specific Rigidbody component in your sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
requires higher simulation accuracy or stability, such as preventing jittering in stacks or ensure jointA physics component allowing a dynamic connection between Rigidbody components, usually allowing some degree of movement such as a hinge. More info
See in Glossary
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 Rigidbody.solverIterations on that specific component. This setting overrides the global project setting for that Rigidbody component only.

To configure the global setting for all Rigidbody components in your project:

  1. Select Edit > Project Settings to open the Project Settings window.
  2. Select the Physics > Settings tab.
  3. Select the GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
    See in Glossary
    tab.
  4. Adjust the Default Solver Iterations value.

Additional resources

Use Rigidbody sleeping to improve physics performance
Optimize Rigidbody component collision detection modes
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961