JV-ODE Physics Thread 6

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Thread 6

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.

Can anyone confirm the DSpaceCollide2 function works 100% under BlitzMax? (Sorry, there's no Bmax thread yet so I posted here in hope!)

dSpaceCollide2(ray,Space.Space,world.world,group.group) - Memory Exception Error


dSpaceCollide2(ray,0,world.world,group.group) - Memory Exception error.


Ray, Space,World and Group are all valid.

The second line throwing an error makes sense, 0 space. I was toying with it to see if it would allow me to use that instead of Ode's DCollide function. (Could do with that function ;) )

I fail to see why this fails, I can use DSpaceCollide in the same place to collide spaces with other spaces no problem?

If i don't bother trying to do this, and call DspaceCollide, then the ray returns values on the next frame so it *does* work, but trying to use DSpaceCollide2 doesn't.

Perhaps i've got the wrong function?