Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Resolved the problem with the rotation of the axes

Discussion in 'Physics' started by Rokovoy, May 20, 2024.

  1. Rokovoy

    Rokovoy

    Joined:
    May 16, 2024
    Posts:
    8
    I created particles and linked them to the character, but I needed them not to turn, but only to move after him according to coordinates. I added rigidbody and set the freeze to rotate, but it still didn't help. How to solve the problem?
     
  2. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,100
    You could control particle system position and rotation manually and not parent with the character.

    Or parent with the character but reset particle system rotation to always have the same rotation in global space.
     
  3. Rokovoy

    Rokovoy

    Joined:
    May 16, 2024
    Posts:
    8
    how can i reset particle system rotation to always have the same rotation in global space?
    I was trying this but it`s not help
     

    Attached Files:

    • 662.png
      662.png
      File size:
      5.9 KB
      Views:
      13
  4. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,100
    You would have to do it by code.
    But first show me all your particle system.
     
  5. Rokovoy

    Rokovoy

    Joined:
    May 16, 2024
    Posts:
    8
    Is that enough?
     

    Attached Files:

    • 12.png
      12.png
      File size:
      53.1 KB
      Views:
      12
    • 123.png
      123.png
      File size:
      33.2 KB
      Views:
      12
  6. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,100
    It would be helpful to also see the screenshot of the particle on this character (in this undesired state).
     
  7. Rokovoy

    Rokovoy

    Joined:
    May 16, 2024
    Posts:
    8
    In short, I need snow (Particles) to fly from one side, but in fact it turns with the character, even though I tried to freeze it
     

    Attached Files:

    • 76.png
      76.png
      File size:
      292.8 KB
      Views:
      11
  8. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,100
    For completeness show me also your "Velocity over lifetime" settings.
     
    Rokovoy likes this.
  9. Rokovoy

    Rokovoy

    Joined:
    May 16, 2024
    Posts:
    8
     

    Attached Files:

    • vel.png
      vel.png
      File size:
      7.1 KB
      Views:
      10
  10. Rokovoy

    Rokovoy

    Joined:
    May 16, 2024
    Posts:
    8
    I have found a solution to the problem! When you asked about "Velocity over lifetime", I decided to check out another tab such as "Force Over LifeTime" And when I changed the "Space" tab from "Local" to "World", everything worked out! Thank you so much for your help! I searched the Internet for a very long time and couldn't find such a simple solution. I was very sleepy on the day of searching for a solution to the error, maybe that's why I should have gone to sleep right away to rest. Thanks again very much!
     
    koirat likes this.