Part_type_gravity - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Sets the gravity properties for the given particle type.
Parameters
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 |
Return Values
void: This function does not return anything.
Example Call
// demonstrates setting the gravity of a particle type
part_type_gravity(type, 10, 270);
NOTOC