[ODE] FPS Player again

Christoph Beyer boernerb at web.de
Fri Aug 18 17:56:12 MST 2006

I hope this question is right in this thread:
I am writing a game with indoor-levels.
But i don't know how to integrate a player in ode's physics.
Here what i tried:
to use boxes for players:
+  Setting the gravitypoint under the box makes a always-standing-up
box, so the player is always upstanding.
-  a box is not able to walk up stairs, or to walk over an 10cm high
little box, it is only falling on the floor and again standing up.
-  if the ground is not horizontal, the playerbox ( and so the main
camera ) are standing aslant.
to use a capsule:
+ the form is the best for a human player.
+ a capsule can go up stairs and walk over low boxes because it is round
on the ends.
- a capsule is always falling down, and if you every frame set the
orientation to zero, it is certainly sliding on all grounds.
to use a sphere:
+ this is the bes way for walking over stairs an little boxes
+ the orientation of a sphere is no problem, because it is total round ;-)
- not all players have a form like a sphere ( i don't want to make only
little round monsters ;-) )

thanks for help!


More information about the ODE mailing list