Part_attractor_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Gets whether or not the given particle attractor exists in the given particle system and returns the result.
Parameters
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle attractor |
Return Values
boolean: Returns whether the particle attractor exists in the particle system.
Example Call
// demonstrates checking if a particle attractor exists
if (part_attractor_exists(sys, attr)) {
// attractor does exist
} else {
// attractor does not exist
}
NOTOC