Search Unity

Move position of a ParticalSystem GameObject with Trails

Discussion in 'General Graphics' started by engelhard90, Jan 23, 2022.

  1. engelhard90

    engelhard90

    Joined:
    Oct 2, 2018
    Posts:
    19
    I am not able to change the position of a Partical with Trails without creating a trail from the old position to the new one.

    What I was trying is to
    particleSystem.SetTrails()
    but I cannot access any attribute of
    particleSystem.GetTrails()


    I was also playing with Pausing, Clearing, Stopping, Playing the ParticleSystem. But when I clear it the particle will play from the beginning, but I want it to continue playing at the new position.
     

    Attached Files:

  2. engelhard90

    engelhard90

    Joined:
    Oct 2, 2018
    Posts:
    19
    I found the solution. I had "World Space" checked in the Particle System. After unchecking it everything works like I wanted it!
     

    Attached Files:

    richardkettlewell likes this.