I have a 2d tile based game created using Unity's 2d tools and orthographic camera:
The tiles are created by programmatically generating a mesh, assigning a texture to each pair of triangles, and setting the normals to -Vector3.forward.
I'd now like to switch to a perspective camera, to add a 3d feel to the tiles, while still using sprites (and following the player):
How do I go about setting up this kind of camera, and will it still be possible to retain the player's x/y co-ordinates which are heavily used in my game logic.
Thanks in advance!
Update: I've realised that in terms of my original grid and sprites, I simply need to swap their vectors Y and Z co-ordinates so that the tiles and sprites are nicely positioned in the scene, however I'm still unsure about how to nicely position the camera and center it on the player.