PhysX Shape Operator

Mass group

Particle mass can be defined by a direct value, or as a density  –  this way, particle mass is calculated as a product of particle volume and a density value. Also, particle mass can be calculated by a Data Operator since with a Data Operator it's possible to define particle mass on per-particle basis. To define (and read) particle mass with a Data Operator, you can use Output PhysX and Input PhysX sub-operators.

Note: While you can animate the Value or Density setting for particle mass, this does not cause particle mass itself to change during the animation. Rather, the current setting when a particle enters the event containing the PhysX Shape operator determines its mass throughout the event. To animate particle masses within an event, use a Data operator in the event containing an Output PhysX sub-operator set to the Mass option, and set Mass to From Mass Channel (see following). Particle Flow Tools: Box#3 is necessary for this.

Choose a method for determining particle mass:

By Density - Uses the Density value as a multiplier of the particle volume, so that larger particles have greater mass.

 

Example 1:  PhysXShape_MassByDensity_Uniform.zip

 

Example 2:  PhysXShape_MassByDensity_Gravity.zip