Answers for "Calculate launch angle based on launch direction"
http://answers.unity.com/questions/1633663/calculation-launch-angle-based-on-launch-direction.html
The latest answers for the question "Calculate launch angle based on launch direction"Answer by Malyglut
http://answers.unity.com/answers/1633678/view.html
The solution was to calculate a new vector based on the White vector and then use it in the Mathf.Atan2 method.
Vector3 newVector = transform.position - White;
float angle = Mathf.Atan2(newVector.y, newVector.x) *Mathf.Rad2Deg;
This however gives values ranging from -180 to 180, to convert this to a 0 - 360 degree value I simply added 180 to the result of previous calculation.
angle+= 180;
This works nicely for what I'm trying to do.
Thanks to @Pangamini for guiding me in the right direction.Tue, 21 May 2019 17:09:42 GMTMalyglutAnswer by Pangamini
http://answers.unity.com/answers/1633664/view.html
Check out [Mathf.Atan2][1]
[1]: https://docs.unity3d.com/ScriptReference/Mathf.Atan2.htmlTue, 21 May 2019 16:51:11 GMTPangamini