Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question What's this weird particle effect doubling?

Discussion in 'General Graphics' started by cyanspark, Nov 16, 2022.

  1. cyanspark

    cyanspark

    Joined:
    Mar 12, 2022
    Posts:
    57
    Why are there dual particles effects with different directions on a system using a 5x5 texture map? It only happens from rotation on the rocket.
    .
    Code (JavaScript):
    1.     function FixedUpdate()
    2.     {
    3.         transform.position.y -= transform.forward * speed * 0.0106f;
    4.         transform.eulerAngles.z -=  2.76f;
    5.         transform.eulerAngles.x -=  50.76f;
    6.     }    

    Code (JavaScript):
    1.     function FixedUpdate()
    2.     {
    3.         transform.position.y -= 0.1;
    4.         transform.eulerAngles.z -=  2.76f;
    5.         transform.eulerAngles.x -=  50.76f;
    6.     }