Update
Use this enumeration to specify to Unity that it should execute the physics simulation immediately after MonoBehaviour.Update().
Read time 1 minuteLast updated 4 days ago
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.