Photon Quantum 3.0.0

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

The interface receives the interaction callbacks from the character controller system. More...

Inherited by Quantum.CharacterControllerMovementTestSystem, and Quantum.Physics3DBenchmark.

Public Member Functions

Boolean OnCharacterCollision3D (FrameBase f, EntityRef character, Physics3D.Hit3D hit)
 Allows to receive a hit as result of the collision with other colliders. More...
 
void OnCharacterTrigger3D (FrameBase f, EntityRef character, Physics3D.Hit3D hit)
 Allows to receive a hit as result of the collision with other trigger colliders. More...
 

Detailed Description

The interface receives the interaction callbacks from the character controller system.

Member Function Documentation

◆ OnCharacterCollision3D()

Boolean Quantum.IKCCCallbacks3D.OnCharacterCollision3D ( FrameBase  f,
EntityRef  character,
Physics3D.Hit3D  hit 
)

Allows to receive a hit as result of the collision with other colliders.

Parameters
fThe current frame.
characterThe entity of the character.
hitThe Physics3D.Hit3D with the collision info.
Returns
True if the collision should be considered. False otherwise.

◆ OnCharacterTrigger3D()

void Quantum.IKCCCallbacks3D.OnCharacterTrigger3D ( FrameBase  f,
EntityRef  character,
Physics3D.Hit3D  hit 
)

Allows to receive a hit as result of the collision with other trigger colliders.

Returns