Photon Fusion 1.1.9

Public Member Functions | List of all members
NetworkCharacterController.ICallbacks Interface Reference

Collision and trigger callback interface that can optionally be passed to the movement query. Common uses: bypass a contact, apply a contact force to the target (can also be achieved just by adding a kinematic Rigidbody to the Character Controller. More...

Public Member Functions

bool OnCharacterCollision3D (Hit other)
 Called for all contacts with a non-trigger collider that penetrates more than NetworkCharacterController.Configuration.AllowedPenetration.

Parameters
otherNetworkCharacterController.Hit data about the collision

 
void OnCharacterTrigger3D (Hit other)
 Called for all contacts with a trigger collider. Not affected by NetworkCharacterController.Configuration.AllowedPenetration.

Parameters
otherNetworkCharacterController.Hit data about the trigger collision

 

Detailed Description

Collision and trigger callback interface that can optionally be passed to the movement query. Common uses: bypass a contact, apply a contact force to the target (can also be achieved just by adding a kinematic Rigidbody to the Character Controller.