How to make collision walls effectively?

molma100
Posts: 11
Joined: Sat Apr 09, 2011 8:12 pm

How to make collision walls effectively?

Post by molma100 »

Okay, lately I have had problems with setting up collision borders and I am wondering how I would do this correctly.

Right now I am using Ogre as my graphics and of course bullet physics for collision and gravity, along with a wrapper for both.

My main question is how can I effectively create borders(for instance invisible walls) to prevent objects(for example player and monsters) from falling off the edge?

my model setup is pretty simple, but I have no idea how I should setup the walls for said reason.

Note: I also use my model for the collision(the ogre *.mesh model) if that matters at all.

What Im basically asking is maybe for a tutorial site or a step-by-step process, or just some pseudo code to get me started.

Thanks for reading and I apologize for anything that you might not understand.