RavEngine
Loading...
Searching...
No Matches
physx::PxParticlePhaseFlag Struct Reference

Identifies per-particle behavior for a PxParticleSystem. More...

#include <PxParticleSystemFlag.h>

Public Types

enum  Enum {
  eParticlePhaseGroupMask = 0x000fffff , eParticlePhaseFlagsMask = 0xfff00000 , eParticlePhaseSelfCollide = 1 << 20 , eParticlePhaseSelfCollideFilter = 1 << 21 ,
  eParticlePhaseFluid = 1 << 22
}
 

Detailed Description

Identifies per-particle behavior for a PxParticleSystem.

See PxParticleSystem::createPhase().

Member Enumeration Documentation

◆ Enum

Enumerator
eParticlePhaseGroupMask 

Bits [ 0, 19] represent the particle group for controlling collisions.

eParticlePhaseFlagsMask 

Bits [20, 23] hold flags about how the particle behave.

eParticlePhaseSelfCollide 

If set this particle will interact with particles of the same group.

eParticlePhaseSelfCollideFilter 

If set this particle will ignore collisions with particles closer than the radius in the rest pose, this flag should not be specified unless valid rest positions have been specified using setRestParticles()

eParticlePhaseFluid 

If set this particle will generate fluid density constraints for its overlapping neighbors.


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