Original Post
Hi, I wasn't sure if here or the beginners forum was the best place to put this so I opted for here. I'm wanting to make a game (isn't everyone), a karting game actually, and i'm kinda thinking myself in circles as to what is the best way to hold camera info and where to keep it. What i'm really aiming for is a camera that will track the player in a kinda 3rd person camera like most karting games (mario kart, diddy kong racing) but i also want it to be able to get it to do fly overs of the level and stuff. So the way i thought of doing it was having a camera class, graphics class, and a the player class, and the graphics class has a camera class which it gathers information from so it can render the world and camera view etc. The player class sends its position to the graphics which forwards it on to the camera and the camera adjusts to suit it etc but this seems a really bad way to do it, so i'd like some advice as to what the best way to implement a camera into this kinda system and how to get it to track the player sometimes but also able to track a flyover object or something. Thanks in advance.