◆ OnColliderEnter
Called by a PhysicsBodyComponent when it has collided with another. Override in subclasses.
- Parameters
-
| other | the other component |
| contactPoints | the contact point data. Do not hold onto this pointer, because after this call, the pointer is invalid. |
| numContactPoints | the number of contact points. Set to 0 if wantsContactData is false. |
◆ OnColliderExit
Called by a PhysicsBodyComponent when it has exited collision with another. Override in subclasses.
- Parameters
-
| other | the other component |
| contactPoints | the contact point data. Do not hold onto this pointer, because after this call, the pointer is invalid. |
| numContactPoints | the number of contact points. Set to 0 if wantsContactData is false. |
◆ OnColliderPersist
Called by a PhysicsBodyComponent when it has collided with another and the collision has persisted. Override in subclasses.
- Parameters
-
| other | the other component |
| contactPoints | the contact point data. Do not hold onto this pointer, because after this call, the pointer is invalid. |
| numContactPoints | the number of contact points. Set to 0 if wantsContactData is false. |
◆ OnTriggerEnter
Called by a PhysicsBodyComponent when it has entered another trigger . Override in subclasses. Note that triggers cannot fire events on other triggers.
- Parameters
-
◆ OnTriggerExit
Called by a PhysicsBodyComponent when it has exited another trigger . Override in subclasses. Note that triggers cannot fire events on other triggers.
- Parameters
-
The documentation for this struct was generated from the following files: