-
Notifications
You must be signed in to change notification settings - Fork 0
Part_attractor_create
hugh greene edited this page Jun 20, 2022
·
1 revision
Creates a new particle attractor in the given particle system and returns the index. A particle attractor will attract particles towards it.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
integer: Returns the index of the newly created particle attractor.
// demonstrates creating a particle attractor
var attr;
attr = particle_attractor_create(sys);
NOTOC
edited by hpg678 on Github