Search Unity

Question How to rotate a particle of a particle system?

Discussion in 'Scripting' started by Spechthecht, Nov 26, 2022.

  1. Spechthecht

    Spechthecht

    Joined:
    Nov 12, 2022
    Posts:
    2
    I am working on a project where I have a particle system that symbolises bullets falling out of a gun. My problem is that the bullets do not rotate with the gun as the picture shows.

    upload_2022-11-26_18-35-47.png

    When a bullet is fired, the particle system will play.

    upload_2022-11-26_18-37-45.png

    If it rotates by 45 degrees for example, the particle doesn't rotate with it.

    upload_2022-11-26_18-38-38.png
    The material that I am using for the particle system just consists of an image.



    How do I fix this?
     

    Attached Files:

  2. orionsyndrome

    orionsyndrome

    Joined:
    May 4, 2014
    Posts:
    3,105
  3. Spechthecht

    Spechthecht

    Joined:
    Nov 12, 2022
    Posts:
    2
    That might help, I'll try it out later, thanks.