physics_particle_group_delete


Description

With this function you can delete (remove) a particle group from the physics simulation in the current room. The function takes the unique group ID of the group to delete, as returned by the function physics_particle_group_end().


Syntax:

physics_particle_group_delete(ind)

Argument Description
ind The index (ID) of the particle group to delete.


Returns:

N/A


Example:

physics_particle_group_delete(gp1);

The above code will delete all the particles that comprise the group with the ID stored in the variable "gp1" from the simulation.