Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How to get rotation to particle position to target position?

Discussion in 'Visual Effect Graph' started by cestop42, Jan 16, 2023.

  1. cestop42

    cestop42

    Joined:
    May 9, 2022
    Posts:
    10
    I wonder how to calculate angle to particle position to target position...

    like this picture
    View attachment 1182153
    how can I solve this?
     
  2. cestop42

    cestop42

    Joined:
    May 9, 2022
    Posts:
    10
    Oh it's solved!
    I don't multiplied rad2deg