-
Notifications
You must be signed in to change notification settings - Fork 0
Part_type_orientation
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Sets the orientation angle properties for the given particle type.
| Parameter | Data Type | Description |
|---|---|---|
| ind | integer | index of the particle type |
| min | double | minimum direction in counter-clockwise degrees, default is 0 |
| max | double | maximum direction in counter-clockwise degrees, default is 0 |
| incr | double | relative direction change each step, default is 0 |
| wiggle | double | wiggling of the direction, default is 0 |
| relative | boolean | whether or not the angle is relative or absolute to the current direction of motion, default is true |
void: This function does not return anything.
// demonstrates setting the orientation of a particle type
part_type_direction(type, 0, 360, -5, 0, true);
NOTOC
This is number 1