Search Unity

Particle System Follows Player and Can Change While In Game?

Discussion in 'Navigation' started by MichaelHotte, Mar 1, 2015.

  1. MichaelHotte

    MichaelHotte

    Joined:
    Feb 22, 2015
    Posts:
    31
    So I've attached a particle system to the player in my game. When the player moves I would like the particles to emit in the opposite direction that the player is moving. For example, if the player was going up, the particles would be emitting to the south. This would give it an appearance of the player being propelled by the particles. Any idea on how this would be done? I know how to add a particle system and play around with it. Though I am not sure as to how I would create this in C# or Javascript. Thanks in advance.
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438