Part_deflector_friction - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Sets the friction that is applied to particles when they enter the region of the given particle deflector in the given particle system.

Parameters

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

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the friction of a particle deflector
part_deflector_friction(sys, defl, 1);

NOTOC