part_type_gravity - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the gravity properties for the given particle type.
Parameter | Data Type | Description |
---|---|---|
ind | integer | index of the particle type |
amount | double | amount of gravity applied each step to particles, default is 0 |
dir | double | direction of the gravity, use 270 degrees to face down |
void: This function does not return anything.
// demonstrates setting the gravity of a particle type
part_type_gravity(type, 10, 270);
NOTOC