natiny_particles_set_space
void natiny_particles_set_space(NatinyParticles particles, uint32_t space);
Sets whether particles are left behind in the world or move with the emitter.
Parameters
| Name | Type | Description |
|---|---|---|
particles |
NatinyParticles |
Particle system handle from natiny_particles_create |
space |
uint32_t |
NATINY_SPACE_WORLD or NATINY_SPACE_LOCAL |
Example
natiny_particles_set_space(engine_glow, NATINY_SPACE_LOCAL);