Hello!
I started with a ParticleSystem (the old one), where I could change the localVelocity like this:
private ParticleEmitter pe;
pe.localVelocity = direction;
I just changed it to the new ParticleSystem,
when I noticed there is no easy way of changing the localVelocity.
Any suggestions?
One more thing, I tried the following but it seems like the particles have no gravity
ParticleSystem.Particle[] p = new ParticleSystem.Particle[particleSystem.particleCount + 1];
int l = particleSystem.GetParticles(p);
int i = 0;
while(i < l) {
p*.velocity = direction;*
-
i++;*
-
}*
-
particleSystem.SetParticles(p, l);*
They just come out of the ParticleEmitter and shoot right away above the target.
Felix