Triggered when an entity enters a trigger. When a trigger event is triggered, both parties receive the event. One party must be a rigid body and the other party must be a trigger. In particular, when the trigger is a custom trigger object, only the trigger will receive the event.
Triggered when the entity leaves the trigger. When the event is triggered, both parties receive the event. One party must be a rigid body and the other party must be a trigger. In particular, when the trigger is a custom trigger object, only the trigger will receive the event.