Search Unity

ParticleSystem.Emit ignores shape?

Discussion in 'General Graphics' started by laurentlavigne, Dec 23, 2015.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,362
    .Emit(10) clumps all 10 particles at the same place, didn't override the parameters so this is a bug. (756666)
    Any workaround?
     
    Last edited: Dec 23, 2015
  2. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,362
    workaround:
    Code (CSharp):
    1. blood.transform.position = position;
    2. blood.Emit (count);
     
    Last edited: Dec 23, 2015
  3. paradizIsCool

    paradizIsCool

    Joined:
    Jul 10, 2014
    Posts:
    178
    3 years later response (for my next search...)
    Code (CSharp):
    1.  blood.Emit(new ParticleSystem.EmitParams()
    2.             {
    3.                 position = position,
    4.                 applyShapeToPosition = true
    5.                
    6.             }, count);