Re: [Plib-users] 3rd person camera
Brought to you by:
sjbaker
From: Trent G. <tm...@cy...> - 2000-05-26 17:18:17
|
* Steve Baker <sjb...@ai...> wrote: > There is code in my Tux game to do that - but it doesn't help as > much as I thought - it's really hard to figure out where to move > the camera in the event that there is something in the line of > sight. > > Camera positioning is a MAJOR problem! No kidding. I've been working on it for days, but I just can't get it right. I've been looking at Zelda 64 (great game), and trying to see how the camera is done there. There seems to be a couple things happening: - The camera doesn't totally stay right behind you, but if you turn and walk in one direction the camera turns a little too. This alone seems to eliminate most problems, because if you walk behind something, the camera adjusts so you can still see the player. - The camera slowly centers behind the player after a few seconds (or you can center it yourself with the z button). - If you walk up to a wall, face the other way, and center the camera, it moves in closer, to the other side of the wall. This is where I'm stuck. I can't get it to work. - If all else fails, the camera goes up high. |