Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FixedUpdate

Use this enumeration to instruct Unity to execute the physics simulation immediately after the MonoBehaviour.FixedUpdate().
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
FixedUpdate = 0

Remarks

Executing the physics simulation during MonoBehaviour.FixedUpdate() provides the most stable physics simulation, however Unity might render multiple frames between simulation updates. This might prevent synchronization of changes made per frame, including contacts between Colliders, with the physics simulation. This mode requires Rigidbody interpolation to provide smoother movement per frame where appropriate.
Additional Resources: Physics.simulationMode.