文档

Unity Engine

Unity Engine

FixedUpdate

Use this enumeration to instruct Unity to execute the physics simulation immediately after the FixedUpdate.
阅读时间1 分钟最后更新于 20 天前

Definition

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

Remarks

Executing the physics simulation during 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