Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

How much angle per axis to achieve a global rotation.

$
0
0
How can i know how much angle for each axis need to be rotate to so i can achieve a global rotation value. For example, i have two game object: game object A with global rotation (8,12,15) game object B another one with global rotation (0,0,0); User have to rotate game object B to achieve the same global rotation value in game object A. So how much degree per axis user have to rotate to achieve it( assume user is rotate game object B one axis follow by another axis). ps: i noticed, if changing the axis value one at a time, it will effect other axis value. For example, When user change x-axis value and then change y-axis value. The z-axis value is changing automatically.

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>