- Home /
Cube Rotation Problem
Hello,
i am rotating cube and getting problem.
1) when rotate left to right is work ,another time left to right is work.
2) when rotate top to bottom is work ,another time top to bottom is work.
but in 3rd n 4th situation not work perfectly.
1) when rotate left to right is work ,another time top to bottom is not work.
2) when rotate top to bottom it work ,another time left to right is not work.
i found problem but not getting solution.
Problem is rotating in x-axis. when i rotate cube in x angle , value of angle x change 270 - 0 - 90. angle x not greater then 90 if increase then y and z angle changed.same as 270.
Not much I can offer w/o code, except to say that those angle coords look right it's just flipping the axis
@getyour411 update my question please check my file.
Your answer
![](https://koobas.hobune.stream/wayback/20220613132059im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Rotate cube in two direction not working 1 Answer
How to lock Y Rotation 3 Answers
Character rotation on foot? 1 Answer
How does LookRotation work in relation to ray cast? 1 Answer