How to rotate a model instantly?

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".

You can use Transform.LookAt() to look at a vector3, just like you want.

Otherwise, try setting the rotation directly:

Transform.localRotation = Quaternion.Euler(0, 30, 0);

EDIT:

If this is an object being animated, you'll need to set any changes in LateUpdate();