Photon Quantum 2.1.1

Public Member Functions | List of all members
Quantum.ISignalOnTriggerEnter2D Interface Reference

Interface for receiving callbacks once a non-trigger and a trigger 2D colliders start touching. More...

Inherits Quantum.ISignal.

Inherited by Quantum.PhysicsBenchmark, and Quantum.PhysicsCallbacksTestSystem.

Public Member Functions

void OnTriggerEnter2D (Frame f, TriggerInfo2D info)
 Called once a non-trigger and a trigger 2D colliders start touching. More...
 

Detailed Description

Interface for receiving callbacks once a non-trigger and a trigger 2D colliders start touching.

No collision is checked between two kinematic colliders that are both trigger or both non-trigger.

At least one of the entities involved in a collision must have the respective CallbackFlags set for the callback to be called.

See PhysicsEngine2D.SetCallbacks for setting the callbacks flags to an entity.