OK, I have a 2d sprite in a scene and I would like to know the theory behind the camera orbiting around it with an analog stick. I know the basic code to get the input from the gamepad, but I'm having trouble getting the desired result. Basically, to simplify, the sprite is at the center of the screen. With the left analog stick I want to orbit the sprite between its a maximum distance (-1 or 1) and its minimum (0) around the centered sprite. It must be a simple thing to do, but I'm struggling with it. Thanks in advance.
If you're using Matrix based camera, you can use Matrix.CreateRotationZ(radians) to rotate a camera. There is a good tutorial available http://www.dylanwilson.net/implementing-a-2d-camera-in-monogame