PxDiffuseParticleParams#
Defined in include/PxParticleBuffer.h
-
class PxDiffuseParticleParams#
Parameters to configure the behavior of diffuse particles.
Public Functions
-
inline PxDiffuseParticleParams()#
Construct parameters with default values.
-
inline void setToDefault()#
(re)sets the structure to the default.
Public Members
-
PxReal threshold#
Particles with potential value greater than the threshold will spawn diffuse particles.
-
PxReal kineticEnergyWeight#
Contribution from kinetic energy when deciding diffuse particle creation.
-
PxReal collisionDecay#
Decay factor of diffuse particles’ lifetime after they collide with shapes.
-
bool useAccurateVelocity#
If true, enables accurate velocity estimation when using PBD solver.
-
inline PxDiffuseParticleParams()#