Hi guys and gals...
I wanted to talk a bit about 3rd person cameras and how they react when a wall comes between the camera and the player character.
This may seem like a topic for the "Technical" board, but I am not really interested in implementations code wise, but in the different ways the problems of camera vs. wall interactions could be resolved.
Mainly I can see two valid ways of handling the interaction:
1. Collision of the camera to character vector with the level geometry and then moving the camera to the player until the collision is resolved.
This has the problem that the camera could land inside the characters head or you would end up in his crotch area etc.
This is used in almost every 3rd person game.
2. Just don´t show the parts, which would occlude the player character.
Well, way number 1. works fine most of the time, but I get the feeling that it gets pretty irritating in tight areas like cave tunnels etc.
Way number 2. is what I am working on at the moment. First I thought this was a pretty cool idea, but I am not so sure anymore, as it can look pretty bad.
Let me show you some screens...
Nothing special is happening here, everything looks normal.
Now we rotate the camera a little bit and part of the camera view would end up inside a wall, so we just do not render these areas. But what should we do with the inside of the wall...just paint it black.
Now we did a 180 and are behind the character. With a normal 3rd person camera, we would end up VERY close to the character, but here the distance from character to camera remains the same. But look at all those black areas (the "inside" of the walls). Pretty ugly, right ?
Oh...and note the area in the second picture at the right border. You are able to see the outside surroundings of the cave. This could be solved with thicker cave walls, but there would be many times one could view a neighbouring room.
What I am trying to to with this game is capturing the feeling of a 2D platformer, where the distance from camera to player character is always the same. Normal 3D person cameras just do not give me this oldschool platformer feeling.
Now I want to ask you people, what you think about 3rd person cameras. Are there any other ways ? Is there anybody out there who feels the same way, that the colliding cameras do not capture the 2D feeling ?
Is someone okay with sometime seeing mostly undefined black areas like in my camera system ? Or is it even more irritating then the close up zooms of colliding cameras ?