Camera Ghost

i have a problem with my camera… for example if my models walks then the camera follow but the camera pass into a wall… or object,… how can i make my camera that will not pass in an object…

sorry for my grammar

yes, you’ve a big problem!
add a “collision system” to the camera (near sensor?), maybe, that will trigger a IPO Actuator movement, that will make the camera avoid the obstacle ( up/down, left/right).

You need to send a ray between you player and the camera.
If the ray detects a property (ground, wall), you have to get the ray hit position and move your camera to that position.

You can study the Camera Script on the Third person template for a working example.
There you will find credits to the original contributors.