Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Fixed

Animator updates in the FixedUpdate loop. This is ideal for physics-driven animations that require frame rate independence.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
Fixed = 1

Remarks

This mode ensures that animation updates align with the physics engine's update loop, maintaining smooth and consistent physics interactions regardless of the frame rate. By default, it synchronizes with the FixedUpdate loop, but this can be reconfigured for specific project requirements. Essential for animations tightly coupled with physics simulations, such as character rigs and vehicle dynamics. Ensure _animatePhysics is set to true for accurate synchronization with physics calculations and collision responses.