๐Ÿงต#Particlesystem animations

marwi123
marcel ๐ŸŒต โ†—

But what you could do is to make a wrapper component that passes the values to the particle system:


export class ParticleAnimation extends Behaviour { 

  @serializable(ParticleSystem) particleSystem: ParticleSystem;

  set emission(value:number) { this.particleSystem.main.emission = ... }

}

^ Something like this. And then animate the property on that component. Not ideal - just an idea for a workaround if it helps.