natiny.particles.set_spread
natiny.particles.set_spread(particles, degrees)
Sets how widely the start direction varies around +Y for the point, box and edge shapes.
Parameters
| Name | Type | Description |
|---|---|---|
particles |
number |
Particle system handle from natiny.particles.create |
degrees |
number |
Full angle of the cone of directions, 0 to 360 |
Example
natiny.particles.set_spread(fountain, 30)