Search Unity

Trail Renderer flips on Y axis

Discussion in '2D' started by Joe_86, Feb 5, 2016.

  1. Joe_86

    Joe_86

    Joined:
    Jan 12, 2015
    Posts:
    6
    Hi there!

    I have a problem with a Trail Renderer in my 2D Game: I want to move it between the screen borders on the x axis. If it's moving to the right side, everything looks fine. If i change the moving direction on the x-axis, the assigned material flips vertically and the trail is bottom up. Is there any way to prevent this? The trail should always looks the same, no matter which direction he is travelling.

    Best regards!
     
  2. LiterallyJeff

    LiterallyJeff

    Joined:
    Jan 21, 2015
    Posts:
    2,807
    Is it just a direction change, or is there any rotation involved?
     
  3. Joe_86

    Joe_86

    Joined:
    Jan 12, 2015
    Posts:
    6
    I only change the direction of the movement. First i travel in positive direction on the x axis, then i change in negative direction and so on...