part_deflector_create - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Creates a new particle deflector in the given particle system and returns the index. A particle deflector will deflect particles away from it.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
integer: Returns the index of the newly created particle deflector.
// demonstrates creating a particle deflector
var defl;
defl = particle_deflector_create(sys);
NOTOC