conversion: ogreODE to ODE

jaronimo

29-03-2008 18:00:25

hi everyone!

i'm currently continuing a project that has been started by someone using an old version of ogre and ode (not ogreode).
i've already ported the code to the newest ogre version but i dont think it is worth the trouble of porting the whole physics part of the game to ogreODE since i only want to make some simple additions.
the project is a racing game.. so there the car physics are already there.
what i have to do is to add a pedestrian that the player should take control of.

there is already a nice ogre walking character tutorial ( http://www.ogre3d.org/wiki/index.php/OgreOde_Walking_Character ) but the code for the physics is written in ogreODE..

my question now is: how i can change the ogreODE specific code in this tutorial to regular ODE code..
for example, what is the equivalent to ogreODE SimpleSpace or ogreODE Body?: OgreOde::SimpleSpace* dollSpace = new OgreOde::SimpleSpace(_world->getDefaultSpace());

i know, for people who know what they do, this would be a simple task, but i'm rather new at this so it would be great if someone could help me out..

rewb0rn

29-03-2008 20:14:41

Either you dive into the ogreode codes and check how its done or you learn ode from their page: www.ode.org. This forum is mainly dedicated to the users of ogreode and I doubt that there are people around that can help you. I can't.