Photon Fusion 1.1.11

Public Attributes | List of all members
NetworkCharacterController.Hit Struct Reference

Hit data passed as parameters to NetworkCharacterController.ICallbacks methods. More...

Public Attributes

Collider Collider
 The other game object collider in touch with the Character Controller. More...
 
bool IsBump
 True in case this collision is considered a bump (NetworkCharacterController.Configuration.BumpBehavior). More...
 
Vector3 Normal
 The normal direction of the collision. More...
 
float Penetration
 The penetration magnitude. More...
 

Detailed Description

Hit data passed as parameters to NetworkCharacterController.ICallbacks methods.

Member Data Documentation

◆ Collider

Collider Collider

The other game object collider in touch with the Character Controller.

◆ IsBump

bool IsBump

True in case this collision is considered a bump (NetworkCharacterController.Configuration.BumpBehavior).

◆ Normal

Vector3 Normal

The normal direction of the collision.

◆ Penetration

float Penetration

The penetration magnitude.