# How to rotate a 3D character on top of a plane with an isometric picture on it

How to calculate the angles of the 3d charater so that it fits into the isometric environment projektet on a 2d plane?
Also, how do you calculate the rotation of my character?
What I want to achieve: Describing the scenario:

First off, you probably want to switch your camera to orthographic, so that you don't get perspective distortion in the image. Then I wouldn't put the image on the ground like that, but rather a plane perpendicular to and linked to the camera. Then rather than rotating the player around, I'd be orienting the camera so that the player looks correct.

The exact position and rotation of the camera is specific to your isometric image, but it looks something like 45 degrees to the right and 45 degrees down.

Changing your camera, like the other fellows said, is probably the best, but if you still need the Camera to have perspective projection, you can use LookAt(), like this:

3dGameObject.transform.LookAt(camera.transform);


Basically it makes your game object to rotate in order to look at something. Take a look at the documentation for more information on which side of the object (forward) will be looking at the camera and how to specify your "up" coordinate.

You can tell Unity3D to use isometric rendering in the camera settings.

Secondly, you dont use isometrical graphics on a plane, you just build the world in 2D/3D and let the camera make it isometric.

I know this isnt a direct answer about rotation, but if you use my approach, your problem is solved. :-)