from panda3d.physics import ParticleSystem
- class ParticleSystem
Contains and manages a particle system.
- __init__(pool_size: int)
spawns a new batch of particles
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.
- set_render_parent(node: panda3d.core.PandaNode)
- soft_start(br: float, first_birth_delay: float)
Causes system to use birth rate set by
set_birth_rate(). If first_birth_delay is specified, it specifies the number of seconds to wait in addition to the birth rate before the first particle is birthed. It is legal for this to be a negative value, which causes the first birth to happen sooner rather than later.
- write_free_particle_fifo(out: panda3d.core.ostream, indent: int)
Write a string representation of this instance to <out>.