Photon Quantum 3.0.0

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

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

Inheritance diagram for Quantum.ISignalOnCollisionEnter2D:
Quantum.ISignal

Public Member Functions

void OnCollisionEnter2D (Frame f, CollisionInfo2D info)
 Called once two non-trigger 2D colliders start touching. More...
 

Additional Inherited Members

- Properties inherited from Quantum.ISignal
Int32 RuntimeIndex [get]
 Index of the signal in the runtime. More...
 

Detailed Description

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

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

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