Photon Quantum 2.1.1

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

Interface for receiving callbacks once per frame while two non-trigger 3D colliders are touching. More...

Inherits Quantum.ISignal.

Inherited by Quantum.Physics3DBenchmark, Quantum.PhysicsCallbacksTestSystem, and Quantum.PhysicsCCD3DTestSystem.

Public Member Functions

void OnCollision3D (Frame f, CollisionInfo3D info)
 Called once per frame while two non-trigger 3D colliders are touching. More...
 

Detailed Description

Interface for receiving callbacks once per frame while two non-trigger 3D colliders are touching.

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

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