Jedive ODE Wrapper (part 2)

Blitz3D Forums/Blitz3D Userlibs/Jedive ODE Wrapper (part 2)

Hi Eurythmia !
I live by your car demo man so get back over to ODE.

The New wrapper looks and feels great.
I'm breaking out in a cold sweat just talking about it.
I'm trying all the demos now and checking it out, and so far I've got a big smile on my face.
8)
Outstanding work gentleman!

I was looking at UpdateGeoms and thought we could make use of 'dBodyIsEnabled'.

 
Function UpdateGeoms()

If dBodyIsEnabled(ode\mesh)

  For ode.ODEGeom=Each ODEGeom
	RotateEntity ode\mesh,dGeomGetPitch#(ode\geom),dGeomGetYaw#(ode\geom),dGeomGetRoll#(ode\geom)
	PositionEntity ode\mesh,dGeomGetPositionX#(ode\geom),dGeomGetPositionY#(ode\geom),dGeomGetPositionZ#(ode\geom)
  Next

end if

End Function