-
Notifications
You must be signed in to change notification settings - Fork 0
Part_attractor_exists
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Gets whether or not the given particle attractor exists in the given particle system and returns the result.
| Parameter | Data Type | Description |
|---|---|---|
| sys | integer | index of the particle system |
| ind | integer | index of the particle attractor |
boolean: Returns whether the particle attractor exists in the particle system.
// demonstrates checking if a particle attractor exists
if (part_attractor_exists(sys, attr)) {
// attractor does exist
} else {
// attractor does not exist
}
NOTOC
This is number 1