[ODE] FPS Player physics: how to construct player, how to move up a staircase, etc?

Bastian von Halem odemail at one-digit-ahead.com
Sat Jul 22 03:49:49 MST 2006


I use a cylinder which fits the upper body of the character and a ray 
for the feets which lets me walk upstairs (and stand still on the 
stairs!). However a few properties of the collision objects must be set 
manually, like the orientation and roll of the cylinder (sliding).
> So at last i got some basic ODE knowledge.
> I loaded an Q3 level, made TriMesh geom of it, so now it's like "ground".
> Now I need to make FPS Player. How to make it?
> I thought I can create it of two spheres connected with a slider joint 
> so the player is able to sneak.
> And I want to place camera into the upper one.
> But then there exists a hole in the "middle" of the player, so it will 
> result in strange collision.
> So what is the best way do it?
>
> And how to move up a staircase? I'm at a loss how to do it. Should I 
> measure the height of a stair and then, if it's not high enough, move up 
> to the next stair?
>
> Thanks.
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>
>   



More information about the ODE mailing list