- Home /
UI not rotating correctly when in "Canvas mode - Camera", I'm hard stuck on this
So, I had to put a 3D object inside my UI and by browsing the web a bit I figured that I could do that by linking my Canvas to the MainCamera through the "Canvas mode - Camera" (Canvas is not a parent of the MainCamera, they are 2 separate entities).
However, whenever I do that I notice I struggle rotating the 3D object in it because the rotation seems to not be Local, check out this screenshot:
https://i.imgur.com/JN1mNkp.png
You can see that while the sword properly leans toward the canvas, the axis' tools do not. Even more weird it's that if I rotate the Main Camera, the axis are still oriented the same way
https://i.imgur.com/fzp5k1G.png
What I'm trying to achieve is to have the sword maintaining these axis:
Your answer
Follow this Question
Related Questions
Transform.Translate but ignore rotation on one axis 0 Answers
Camera Rotation Question 1 Answer
Lock an axis from rotating 1 Answer
Rotate according to the camera on Y and Z only! 2 Answers
How to rotate an object on one axis facing another object? 0 Answers