기술 자료

Unity Engine

Unity Engine

contactFilterCallbacks

Controls whether this shape produces contact filter callbacks. A contact filter callback allows direct control over whether a contact will be created between a pair of shapes. This applies to both triggers and non-triggers but only with to Dynamic bodies These are relatively expensive so disabling them can provide a significant performance benefit. A contact filter callback will call the PhysicsShape.callbackTarget for both shapes involved if they implement PhysicsCallbacks.IContactFilterCallback.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public bool contactFilterCallbacks { get; set; }