ODE integration in DreiDe

BlitzMax Forums/BlitzMax Programming/ODE integration in DreiDe

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi!
I need some ideas to include ODE Physics in DreiDe...

My first idea:
The type "TEntity" becomes the attributes "ODEBodyID" and "ODEGeomID" in addition.

So you have to call at any frame MyEntity.UpdateODE(). UpdateODE will take the in ODE computed position and orientation and set it to this entity.

But what is wih other things? MyEntity.SetPosition(...) or dBodySetPosition(MyEntity.GetODEBody(), ...) ?

Or does DreiDe realy need a directly implemantation of ODE? DreiDe is firstly a rendering engine, or what you think? So I only show you, how to use ODE with this rendering engine.

cu olli