...
Code Block | ||
---|---|---|
| ||
dyversoDomain = scene.get_DY_Domain("DY_Domain01") dyversoParticles = dyversoDomain.getParticles() for particle in dyversoParticles: if (particle.getVelocity().module() > 5.0): dyversoDomain.removeParticle(particle.getId()) |
Hybrido Domains
Add the script to Simulation Flow > (Ctrl/Cmd + F2) > FramesPre or StepsPre.
Most attributes of Hybrido core fluid particles are controlled by the solver and cannot be changed, but it is possible to trigger certain events, e.g. to increase the Hybrido emitter's "Speed" parameter dynamically:
...