ドキュメント

Unity Engine

Unity Engine

Update

Use this enumeration to specify to Unity that it should execute the physics simulation immediately after MonoBehaviour.Update().
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Update = 1

Remarks

Executing the physics simulation during MonoBehaviour.Update() provides a less stable and deterministic physics simulation due to the unpredictable fluctuations in framerate that can arise. However, the physics simulation is always synchronized each frame, including contacts between Collider2D. Using this mode, Rigidbody2D interpolation is not required as the simulation is updated per-frame.
Additional Resources: Physics2D.simulationMode.