part_attractor_position - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the position of the given particle attractor in the given particle system.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle attractor |
x | double | x coordinate of the position |
y | double | y coordinate of the position |
void: This function does not return anything.
// demonstrates setting the position of a particle attractor
part_attractor_position(sys, attr, x, y);
NOTOC