文档

Unity Engine

Unity Engine

Update

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

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
Update = 1

Remarks

Executing the physics simulation during 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 Colliders. This mode doesn't require Rigidbody interpolation.
Additional Resources: Physics.simulationMode