Part_attractor_destroy - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Destroys the given particle attractor in the given particle system, this is necessary to save memory if it is no longer being used.
Parameters
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle attractor |
Return Values
void: This function does not return anything.
Example Call
// demonstrates destroying a particle attractor
part_attractor_destroy(sys, attr);
NOTOC