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.
↧