part_deflector_friction - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the friction that is applied to particles when they enter the region of the given particle deflector in the given particle system.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle deflector |
amount | double | amount of friction applied from the impact with the deflector, higher the amount the more the particle is slowed down on impact |
void: This function does not return anything.
// demonstrates setting the friction of a particle deflector
part_deflector_friction(sys, defl, 1);
NOTOC