-
Notifications
You must be signed in to change notification settings - Fork 0
Part_type_gravity
hpgDesigns edited this page Aug 8, 2021
·
1 revision
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
This is number 1