Ok I am having a brainfreeze. My camera is set to look down on the Z-X plane, so it's like 2D:
z
|
|
+----- x
I want to be able to rotate an object instantaneously around Y-axis.
Let's say user presses Left button on keyboard, I want my model to look like so:
<----
and to start moving to the left. One the user presses right, I want the object to turn instantaneously to the right, and start moving to the right:
---->
Which unity functions should I use for this? Using "rotate" function makes it confusing in which direction to move. It would be nice if I could say: "rotate this object to face in this Vector3 direction".