Documentation

Unity Engine

Download Unity

Unity Engine

FixedUpdate.Physics2DFixedUpdate

Native Player loop system that runs the 2D physics simulation step during the fixed update.
Read time 1 minuteLast updated 5 days ago

Definition

public struct FixedUpdate.Physics2DFixedUpdate

Remarks

By default, Unity simulates 2D physics in this system. If Physics2D.simulationMode is set to update in the Update loop,
PreLateUpdate.Physics2DLateUpdate
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.