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

How many degrees has changed

Discussion in '2D' started by k0mix, Jul 1, 2019.

  1. k0mix

    k0mix

    Joined:
    Apr 7, 2018
    Posts:
    10
    Hello.
    This could be stupid question but.
    How to find out how many degrees of rotation has changed ?

    For example in top down project starting at 0,0,0 and rotate around z axis back to 0,0,0 its 360 degrees.
     
  2. TigerDawn

    TigerDawn

    Joined:
    Aug 4, 2018
    Posts:
    21
    External Variable totaling amount of the circumference travelled. Every multiple of the circumference of the circle is once around. Use the unit circle with radius of 1 as a base. so circumference is 2(Pi)r with r=1.