Photon Quantum 2.1.1

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

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

Inherits Quantum.ISignal.

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

Public Member Functions

void OnTrigger3D (Frame f, TriggerInfo3D info)
 Called once per frame while a non-trigger and a trigger 3D colliders are touching. More...
 

Detailed Description

Interface for receiving callbacks once per frame while a non-trigger and a trigger 3D colliders are 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 PhysicsEngine3D.SetCallbacks for setting the callbacks flags to an entity.