Quantcast
Channel: Questions in topic: "rotating"
Viewing all articles
Browse latest Browse all 173

Is 360° the same as 0°?

$
0
0
I have an object that I want to rotate around a parent object. So it would be something like this (see picture). http://prntscr.com/5pz2kd So I'll need to rotate the parent in order for the object to rotate around it. If i set the initial rotation to be 'InitRot' and I set the new rotation to be 'InitRot + 30', the object will rotate clockwise with 30 degrees. Now if I want the object to rotate 30 degress to the left, I would do 'InitRot + 330' thinking that it will rotate counterclockwise, but it will not, it still rotates clockwise. Now the question is, can I change this by saying: 'InitRot = InitRot + 360', so that the object will be in the same position, but will have a different value. So that then when I set the new rotation to 'InitRot - 30', the object will rotate counterclockwise. Or could I just do 1) new rotation = Initrot + 30 for clockwise rotations 2) new rotation = Initrot - 30 for counterclockwise rotations Tyvm!!

Viewing all articles
Browse latest Browse all 173

Trending Articles



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