JV-ODE Physics Thread 3

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

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.

@Slenkar: Some of the Ray functions return a vector, maybe that's what you're having problems with. All the Ray functions behave like line pick etc in Blitz with the exception of dGeomRayGetStart(ray) and dGeomRayGetDir(ray) which fill an internal vector.

To use these two commands you would do something like this...
dGeomRayGetStart(ray)
raystartx#=dVectorX()
raystarty#=dVectorY()
raystartz#=dVectorZ()

dGeomRayGetDir(ray)
raydirx#=dVectorX()
raydiry#=dVectorY()
raydirz#=dVectorZ()

If you still have problems, post your code (or send it via email) and I'll take a look for you.