physics_particle_group_delete

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)

ArgumentTypeDescription
indPhysics Particle Group IDThe 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.