Camera changes view when controller connected

Posted by ChocoMan on Game Development See other posts from Game Development or by ChocoMan
Published on 2012-10-01T00:25:31Z Indexed on 2012/10/01 3:52 UTC
Read the original article Hit count: 394

Filed under:
|
|

I have a weird situation. I have a model set to 0 for X,Y and Z. My camera's position is set to:

  • 0 (X-value, but updates when the model moves around)
  • the model's height + 20f (about the same level as the model's shoulders)
  • 25f (behind the model)

Without the controller plugged in, everything looks fine as I want it. But as soon as I plug the controller in, the camera aims to the sky! But when I unplug the controller, the camera is back to what it should be.

Does anyone have any insight as to what may cause this from plugging a controller in?

© Game Development or respective owner

Related posts about XNA

Related posts about camera