#include <PhysXSceneSimulationEventCallback.h>
Inherits physx::PxSimulationEventCallback.
|
AzPhysics::CollisionEventList & | GetQueuedCollisionEvents () |
| Accessor to the queued Collision / trigger Events.
|
|
AzPhysics::TriggerEventList & | GetQueuedTriggerEvents () |
|
void | FlushQueuedCollisionEvents () |
| Clear all queued collision / trigger events.
|
|
void | FlushQueuedTriggerEvents () |
|
void | onConstraintBreak (physx::PxConstraintInfo *constraints, physx::PxU32 count) override |
|
void | onWake (physx::PxActor **actors, physx::PxU32 count) override |
|
void | onSleep (physx::PxActor **actors, physx::PxU32 count) override |
|
void | onContact (const physx::PxContactPairHeader &pairHeader, const physx::PxContactPair *pairs, physx::PxU32 nbPairs) override |
|
void | onTrigger (physx::PxTriggerPair *pairs, physx::PxU32 count) override |
|
void | onAdvance (const physx::PxRigidBody *const *bodyBuffer, const physx::PxTransform *poseBuffer, const physx::PxU32 count) override |
|
Helper class that receives the collision events reported from PhysX. This will convert physx collision and trigger events in TriggerEvent and CollisionEvent to be forwarded to the Scene.
The documentation for this class was generated from the following file:
- Gems/PhysX/Code/Source/Scene/PhysXSceneSimulationEventCallback.h