Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.IBodyUpdateCallback

An interface that when implemented by a Object, can be called as a target by PhysicsWorld.SendBodyUpdateCallbacks.
Read time 1 minuteLast updated 11 days ago

Definition

public interface PhysicsCallbacks.IBodyUpdateCallback

Methods

Method

Description

OnBodyUpdate2DCalled when a PhysicsEvents.BodyUpdateEvent for the object occurs. This will always be called on the main-thread after the simulation has finished.