Part_deflector_kind - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Sets the kind of the given particle deflector in the given particle system which tells it how to deflect particles.

Parameters

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

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the kind of a particle deflector
part_deflector_kind(sys, defl, ps_deflect_vertical);

NOTOC