Overview

This function is used to create multiple particles simultaneously by filling a region.

Syntax

ParticleSystem:createGroup( params )

params (required)

Table. A table that specifies the particle group properties (flags) — see the next section for valid entries.

Important

When implementing particle collisions via the particleCollision event, you must set the "fixtureContactListener" flag for the particle group. If this flag is omitted, you will not receive particle collision responses.