I have two cameras, one for the UI, one for the 3d objects.
UI camera is just a simple, perspective camera.
3d objects camera is rotated by
(30,45,0) so it displays things with an isometric view. (It's parent it rotated).
On the UI camera's canvas I have two 2D objects (images or something) with a
RectTransform. These are invisible here, but they're marked as
What I need to do is to move the 3d object on the X/Y axis. To be super clear, I need to move it towards one of these two X objects (left or right).
For now, the camera is rotated, so it doesn't look like it's moving left/right/up/down, but it's moving to the corners (cause of the camera's rotation).
Now I do a
_3dObject.transform.DOMove(leftXObject, 3f); // DOTween lib, doesn't matter
And it moves to:
Because of the angle of the 3d camera.
What to do?!