[ODE] Simple FPS-like character

Megan Fox shalinor at gmail.com
Wed Jan 4 10:39:56 MST 2006


This is the approach I use, and it works flawlessly for me.  You'll
want to fix the player body a set distance from the ground with a
spring/dampener system and take a heavy-handed approach with movement
force control (so that it doesn't feel "squishy" or "slidey," what
with ODE not having friction of any kind for a setup like this).

> I've read about a capsule-ray geom couple here on the list, where you
> generally use ray collision for the "leg", and a capsule is levitating
> for the player's body. Ray is directed vertically from the bottom of the
> capsule downwards to the ground. This technique allows you to set up a
> custom height for a climbable terrain-delta by setting the height of the
> levitation of the capsule (means setting the length of the ray to
> generate contact joints). Collision for the environment - and for the
> terrain if it is higher then the delta - is processed by the capsule
> geom. This must do the job. Bye,
>
>    Uchimata
--
-Megan Fox
http://shalinor.circustent.us/megan/resume/

Lead Developer, Elium Project
http://www.elium.tk



More information about the ODE mailing list