Skip to content

KX_ParticleSystem

Class Range.types.KX_ParticleSystem.

These items exist in the engine but were not in the Range documentation. The ones marked new in Anastacio were added by Anastacio Engine.

method

Releases all particles at once on the next frame. Only on emitters with burstMode on.

new in Anastacio attribute

How particles face the camera: 'FULL' or 'VERTICAL' (rotates only on the vertical axis).

new in Anastacio attribute

How particles blend with the scene: 'ALPHA' or 'ADDITIVE'. An unknown value raises ValueError.

new in Anastacio attribute

Interval in seconds between automatic bursts in burst mode.

new in Anastacio attribute

True emits in bursts (explosions); False emits continuously.

attribute

How much a particle bounces when it hits (0 = no bounce).

attribute

Particle friction when sliding after a hit.

attribute

Ground plane height when collisionMode is 1.

attribute

Particle collision: 0 none, 1 ground plane, 2 with what is on screen (screen-space).

attribute

Initial particle color [r, g, b, a].

attribute · read-only

True when the particle system debug panel is open.

new in Anastacio attribute

Air resistance: how much particles slow down over time.

attribute

Emission cone opening, in degrees.

attribute

Direction [x, y, z] particles are emitted in.

new in Anastacio attribute

Emission mode: 'CONTINUOUS' or 'BURST' (all at once). burstMode follows this value.

attribute

Emitter position [x, y, z] relative to the object.

attribute

Radius of the area particles spawn from.

attribute

Turns emission on or off.

attribute

Particle color [r, g, b, a] at the end of its life (the color fades from color to it).

attribute

Particle size at the end of its life.

attribute

Path to your own .glsl to draw the particles. Empty goes back to the default look.

attribute

Gravity applied to particles.

attribute

Lifetime of each particle, in seconds.

attribute

Maximum number of live particles.

attribute

Initial particle size.

attribute

Path of the image used on particles. Empty removes the texture.

new in Anastacio attribute

Whether particles stop being drawn when seen from behind.

new in Anastacio attribute

Shows the emitter debug panel during the game.

new in Anastacio attribute

Turns on the vortex: particles rise spinning around the emitter.

attribute

Initial particle velocity.

attribute

Random variation of the initial velocity (0 = all the same).

new in Anastacio attribute

Vortex height.

new in Anastacio attribute

Vortex radius at the top.

new in Anastacio attribute

Vortex rotation speed.