using: Unity 2018.4.3f1
When I emit from a script, the particles do not have an velocity. The documentation says “Setting properties in the emitParams will override those properties in the emitted particles. Any properties not modified will inherit the behavior specified in the inspector.”
If i set the velocity in the emiteParams, all particles have the same velocity. I want random velocities that usually come from the shape module.
heres my code:
EmitParams.position = arg2.ContactEventArg.Position;
//EmitParams.velocity = (Vector2.up + Rando.OnUnitCircle()).normalized * ParticleStartSpeed;
HitParticle.Emit(EmitParams,
ParticleCount);
thanks,