[2.0.76] Turrets spawning particles when not in view of player
Posted: Sat May 30, 2026 9:05 am
by Atraps003
It was mentioned that particles won't spawn when not viewed by the player for performance reasons. Rocket turrets spawn trivial smoke and gun turrets spawn shell particles when not viewed by the player. Bug or working as intended?
Re: [2.0.76] Turrets spawning particles when not in view of player
Posted: Sat May 30, 2026 10:21 am
by Klonan
Atraps003 wrote: Sat May 30, 2026 9:05 am Bug or working as intended?
Its working as intended in this case, the particles being spawned 'only when viewed' it is a prototype property on the trigger effects
So its enabled for things like biter/pentapod/asteroid death animations (which spawn a lot of short lived particles)
But gun turrets, its spawned by the shell_particle in attack parameters, and you can see the shell particles on the ground (and there are not that many in total)