Documentation

Unity Engine

Unity Engine

OnBodyUpdate2D(BodyUpdateEvent)

Called when a PhysicsEvents.BodyUpdateEvent for the object occurs. This will always be called on the main-thread after the simulation has finished.
Read time 1 minuteLast updated 2 months ago

Definition

void OnBodyUpdate2D(PhysicsEvents.BodyUpdateEvent bodyUpdateEvent)

Parameters

bodyUpdateEvent

The event that occurred.