FixedUpdate
Use this enumeration to specify to Unity that it should execute the physics simulation immediately after the MonoBehaviour.FixedUpdate().
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
FixedUpdate = 0
Remarks
Executing the physics simulation during MonoBehaviour.FixedUpdate() provides the most stable physics simulation however, Unity may render multiple frames between simulation updates. This means that changes made per-frame may not be synchronized with the physics simulation including contacts between Collider2D. In this mode Rigidbody2D interpolation should be used to provide smoother movement per-frame where appropriate.
Additional Resources: Physics2D.simulationMode.