Open 3D Engine PhysX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::SceneSimulationFilterCallback Class Reference

Helper class to handle the filtering of collision pairs reported from PhysX. More...

#include <PhysXSceneSimulationFilterCallback.h>

Inherits physx::PxSimulationFilterCallback.

Public Member Functions

void RegisterSuppressedCollision (const AzPhysics::SimulatedBody *body0, const AzPhysics::SimulatedBody *body1)
 Registers a pair of simulated bodies for which collisions should be suppressed.
 
void UnregisterSuppressedCollision (const AzPhysics::SimulatedBody *body0, const AzPhysics::SimulatedBody *body1)
 Unregisters a pair of simulated bodies for which collisions should be suppressed.
 
physx::PxFilterFlags pairFound (physx::PxU32 pairId, physx::PxFilterObjectAttributes attributes0, physx::PxFilterData filterData0, const physx::PxActor *actor0, const physx::PxShape *shape0, physx::PxFilterObjectAttributes attributes1, physx::PxFilterData filterData1, const physx::PxActor *actor1, const physx::PxShape *shape1, physx::PxPairFlags &pairFlags) override
 
void pairLost (physx::PxU32 pairId, physx::PxFilterObjectAttributes attributes0, physx::PxFilterData filterData0, physx::PxFilterObjectAttributes attributes1, physx::PxFilterData filterData1, bool objectRemoved) override
 
bool statusChange (physx::PxU32 &pairId, physx::PxPairFlags &pairFlags, physx::PxFilterFlags &filterFlags) override
 

Detailed Description

Helper class to handle the filtering of collision pairs reported from PhysX.


The documentation for this class was generated from the following file: