part_deflector_kind - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the kind of the given particle deflector in the given particle system which tells it how to deflect particles.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle deflector |
kind | integer | how particles are deflected, particle system constant |
void: This function does not return anything.
// demonstrates setting the kind of a particle deflector
part_deflector_kind(sys, defl, ps_deflect_vertical);
NOTOC