I think what is killing me is the whole Y is up... but my problem is I want to have my camera at a RTS/Diablo style angle.
I have my code setup like so for movement of the camera
if (game.Input.Keys.Contains(Keys.W))
{
EagleCameraManager.ActiveCamera.Translate(new Vector3(0,0.3f,0));
}
if (game.Input.Keys.Contains(Keys.A))
{
EagleCameraManager.ActiveCamera.Translate(new Vector3(-0.3f, 0, 0));
}
if (game.Input.Keys.Contains(Keys.D))
{
EagleCameraManager.ActiveCamera.Translate(new Vector3(0.3f, 0, 0));
}
if (game.Input.Keys.Contains(Keys.S))
{
EagleCameraManager.ActiveCamera.Translate(new Vector3(0, -0.3f, 0));
}
works great moves the camera forward and backward left and right, the problem is my camera is facing straight down... so I run this code
EagleCameraManager.ActiveCamera.LookAt(new Vector3(0, 15, 15), 0.25f);
and viola! my camera is exactly where I want it!! ... now comes the problem, when i press a or d it moves left or right(thats good), but when i press w or s it goes forward and up or backward and down!!! it works fine till i run that piece of code... been driving me nuts, any thoughts??