Question by 
               Mr_Zoovaska · Sep 17, 2019 at 02:29 PM · 
                rotationtransformunity 2deulerangleseuler angles  
              
 
              Convert movement direction into rotation?
I'm a bit of a noob and im struggling to wrap my head around euler angles and quaternions etc so sorry if this seems a dumb question. I want to convert my Vector3 movement direction ((1, 1, 0), (1, -1, 0), etc.) into an axis of rotation. For example (1, 1, 0) would be 135, (-1, -1, 0) would be -45, (0, -1, 0) would be 0, etc. How would i go about calculating this in code?
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Rotation problem 0 Answers
How can I deal with eulers 1 Answer
Why does this quaternion euler not compute? 0 Answers