JV-ODE Physics Wrapper

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Wrapper

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.


Not sure if autodisable is working for me in this example or not.


No, auto disable is turned off by default. It won't be working in the code above as you haven't activated it.

This will tell you the current state of world auto disable:
Text 0,30,"Auto Disable:"+dWorldGetAutoDisableFlag(World)

You would do this to turn world auto disable on:
dWorldSetAutoDisableFlag(World,1) ; <<< 1=On - 0=Off

[edit] Ooops, forgot to mention these...

The following will return the current state of a body auto disable:
dBodyGetAutoDisableFlag(ode\body)

You would do this to turn a body auto disable on:
dBodySetAutoDisableFlag(ode\body,1) ; <<< 1=On - 0=Off