Can anyone confirm the DSpaceCollide2 function works 100% under BlitzMax? (Sorry, there's no Bmax thread yet so I posted here in hope!)
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?
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?