physics_particle_group_delete

Delete a particle group from the physics simulation.

Syntax:

physics_particle_group_delete(ind)


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


Returns: N/A


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().


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.


Back: Soft Body Particles
Next: physics_particle_delete
© Copyright YoYo Games Ltd. 2018 All Rights Reserved