CollisionResponseAnimator - camera gets stuck in geometry

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
CppJunky
Posts: 6
Joined: Wed Jan 16, 2008 8:08 am
Location: Germany
Contact:

CollisionResponseAnimator - camera gets stuck in geometry

Post by CppJunky »

Hi mates,
I've got another problem with my octree-mesh. I'm using the FPS camera with an attached CollisionResponseAnimator just as described in the Irrlicht examples. Most times it works fine, but sometimes when moving around I'm getting stuck somewhere without any reason. Sometimes it also happens on plain geometry like the middle of the floor in my room. Really strange. I already put the camera starting position into the air in order to fall onto the ground and avoid starting already stuck. Anyone here having similar problems? Need some advice.

Greetz
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Post by christianclavet »

Hi

Most of theses problems are related in defining the size of your collision sphere when you created the collisionResponseAnimator.

Try to put a bigger value than what you have now, also keep the same value for each axes so the sphere is really round. Once it's working better then, you could try to change the shape. (I used more of an ellipse on my level because of the stairs and wanted to go thru some gates (width of the player).)
Post Reply