Quantcast
Channel: Latest Questions by bariscigal
Viewing all articles
Browse latest Browse all 6

How to check object "rotated" X degrees

$
0
0
Hello all, What i want to learn is not "to rotate" but "to check" a local axis rotated degrees. To clear the question a bit: I have a steering code based on rigidbody. When I start rotating the object ,i want it to stop, when the X (or -X) degrees have been achieved in one axis. As i see euler angles are somewhat write only angles, and quaternion angles are a bit complicated for me to grasp. Also angles are going from 0 to 180 but i want X to be infinite. Like i want to enter 780 and want to check if it completed the 780 degrees of rotation in one axis. This is something i have been reading for some time but couldn't find a good way for this. If there is any link regarding this issue that would be great also.

Viewing all articles
Browse latest Browse all 6

Trending Articles



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