Part_deflector_create - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Creates a new particle deflector in the given particle system and returns the index. A particle deflector will deflect particles away from it.

Parameters

Parameter Data Type Description
sys integer index of the particle system

Return Values

integer: Returns the index of the newly created particle deflector.

Example Call

// demonstrates creating a particle deflector
var defl;
defl = particle_deflector_create(sys);

NOTOC