Particle drains are the PhysX objects or shapes, which act as a particle cleaner and whenever PhysX particles come in touch with that object, particles are released from the scene. To mark a shape as a particle drain, simply call the PxShape::setFlag(PxShapeFlag::ePARTICLE_DRAIN, true)
function.
No credit card required