Documentation

Unity Engine

Download Unity

Unity Engine

bodyUpdateEvents

Get the body events from the last simulation. The PhysicsBody objects returned should be checked to see if they are valid before accessing as they may have been deleted since this event was produced (see PhysicsBody.isValid ). Any change to the world state can invalidate this data so referring to
Read time 1 minuteLast updated a day ago

Definition

public ReadOnlySpan<PhysicsEvents.BodyUpdateEvent> bodyUpdateEvents { get; }