part_system_position - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the transformation origin for rendering of the given particle system, this is really only necessary if you want to transform the entire particle system.
| Parameter | Data Type | Description |
|---|---|---|
| ind | integer | index of the particle system |
| x | double | x coordinate of the origin |
| y | double | y coordinate of the origin |
void: This function does not return anything.
// demonstrates setting the origin of a particle system
part_system_position(sys, x, y);
NOTOC