natiny_particles_set_spin
void natiny_particles_set_spin(NatinyParticles particles, float min, float max);
Sets how fast each new particle turns.
Parameters
| Name | Type | Description |
|---|---|---|
particles |
NatinyParticles |
Particle system handle from natiny_particles_create |
min |
float |
Smallest turning speed, in degrees per second |
max |
float |
Largest turning speed, in degrees per second |
Example
natiny_particles_set_spin(smoke, -30.0f, 30.0f);