Delegate NeoCharacterControllerDelegates.OnHitRigidbody
An event called when the character controller hits a non-kinematic rigidbody during a move.
Namespace: NeoCC
Assembly: NeoFPS.dll
Syntax
public delegate void OnHitRigidbody(Rigidbody rigidbody, Vector3 point, Vector3 normal, NeoCharacterCollisionFlags flags);
Parameters
| Type | Name | Description |
|---|---|---|
| Rigidbody | rigidbody | The rigidbody that was hit. |
| Vector3 | point | The hit point of the impact. |
| Vector3 | normal | The normal of the impact. |
| NeoCharacterCollisionFlags | flags | The collision flags for this specific impact. |