文档

Unity Engine

Unity Engine

FixedUpdate.PhysicsFixedUpdate

Native Player loop system that runs the 3D physics simulation step during the fixed update.
阅读时间1 分钟最后更新于 5 天前

Definition

public struct FixedUpdate.PhysicsFixedUpdate

Remarks

By default, Unity simulates 3D physics in this system. If Physics.simulationMode is set to update in the Update loop,
PreLateUpdate.PhysicsLateUpdate
runs the simulation instead.
This struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.