Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


preSolveCallbacks

Controls if pre-solve callbacks will be called. This only applies to Dynamic bodies and is ignored for triggers. These are relatively expensive so disabling them can provide a significant performance benefit. A pre-solve callback will call the PhysicsShape.callbackTarget for both shapes involved if they implement PhysicsCallbacks.IPreSolveCallback.
Read time 1 minuteLast updated 8 days ago

Definition

public bool preSolveCallbacks { get; set; }