from panda3d.physics import ParticleSystem
- class ParticleSystem
Contains and manages a particle system.
- __init__(pool_size: int)
Resets the system to its start state by resizing to 0, then resizing back to current size.
Forces the birth of a particle litter this frame by resetting _tics_since_birth
Populates an attached
GeomNodestructure with the particle geometry for rendering. This is a wrapper for accessability.
- setRenderParent(node: panda3d.core.PandaNode)
- softStart(br: float, first_birth_delay: float)
Causes system to use birth rate set by
setBirthRate(), with the system’s first birth being delayed by the value of first_birth_delay. Note that a negative delay is perfectly valid, causing the first birth to happen sooner rather than later.
- writeFreeParticleFifo(out: panda3d.core.ostream, indent: int)
Write a string representation of this instance to <out>.