O'Reilly logo

Learning Physics Modeling with PhysX by Krishna Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Particle drains

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required