Documentation

Unity Engine

Download Unity

Unity Engine

FixedUpdate.PhysicsCore2DFixedUpdate

Native Player loop system that simulates the low-level 2D physics worlds in the Unity.U2D.Physics namespace that are set to simulate in the fixed update.
Read time 1 minuteLast updated 5 days ago

Definition

public struct FixedUpdate.PhysicsCore2DFixedUpdate

Remarks

This system simulates only physics worlds whose simulation type is set to
FixedUpdate
, which is the default, using Time.fixedDeltaTime. Worlds set to simulate in the Update loop are simulated in
PreLateUpdate.PhysicsCore2DLateUpdate
. This system also sends Transform change callbacks when the transform change mode is set to
FixedUpdate
. This system is active only in Play mode.
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.