Solid Walls/Objects in the Game Engine

I was wondering how you make walls/objects and etc solid so that a player (box) will not move through them.

It’s not about the walls, it’s about the player. Make him dynamic with collision bounds.

The buttons that are in F7 Physics Buttons?

give the player a ray sensor that makes hi stop when he is in front of a wall. Make him switch to another state where going forward is not an option until he is x blender units away from the wall.

That’s a really ghetto and far too CPU intensive method… just use a collision box, not that hard. And you shouldn’t need to be using loc for movement anyways, this is a new era of game making, use servo motion!

<F4> Logic buttons