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 to delete.


Returns: N/A


Description

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


Example:

physics_particle_delete(part);

The above code will delete the particle with the ID stored in the variable "part" from the simulation.


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