marcel ๐ต โ
๐งต#Particlesystem animations
Needle Open in Discord
marcel ๐ต โ
Hi, no that's currently not supported.
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.
Gilderko โ
Cool thanks for the info will try the workaround