Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiFoamGenerator Class Reference
Inheritance diagram for Obi.ObiFoamGenerator:

Public Member Functions

void OnEnable ()
 
void OnDisable ()
 

Public Attributes

float emissionRate = 500
 
float randomness = 0.01f
 
float vorticityThreshold = 10
 
float densityThreshold = 2000
 
ParticleAdvector advector
 

Detailed Description

Foam generators create diffuse particles in areas where certain conditions meet (high velocity constrasts, high vorticity, low density, high normal values, etc.). These particles are then advected trough the fluid velocity field.


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