- Home /
Having issues with transform.rotation.
Okay, I made a ship object , that when it collides with a ramp object, the ship will then rotate using Quarternion.Euler, upward, so that it will go up the ramp, well what happens is when my ship collides with the ramp object, it turns around completely and goes upward. So it's doing what it's suppose to do, but in the complete opposite direction?
heya, ive asked a similar question here and was told not to use euler but quaternion to avoid the issue: http://answers.unity3d.com/questions/265218/rotation-angle-across-0-opposing-angle.html
Your answer
![](https://koobas.hobune.stream/wayback/20220613072630im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
transform RotateAround 1 Answer
smooth fps movements using joystick 1 Answer
Rotate an object with angle limit 1 Answer
i would like to rotate an object from an other objects script 1 Answer
Rotation not working 3 Answers