@Topknot: If you're experiencing crashes, you're probably forgetting to check a collision has occurred beforehand.
Doing the following will cause ODE to crash if there are no collisions detected...
GeomX=dGeomCollisionX#(CGeom,1)
To solve this you just need to check to make sure a collision has occurred before calling it...
If dGeomCountCollisions(CGeom)>0
GeomX=dGeomCollisionX#(CGeom,1)
End If
This applies to all of the collision functions, including the sub-collision functions.
If you're still a bit stuck, post your code using the <codebox> </codebox> tags (change <> for []) as Shifty suggested and we can take a look at it for you.
Doing the following will cause ODE to crash if there are no collisions detected...
GeomX=dGeomCollisionX#(CGeom,1)
To solve this you just need to check to make sure a collision has occurred before calling it...
If dGeomCountCollisions(CGeom)>0
GeomX=dGeomCollisionX#(CGeom,1)
End If
This applies to all of the collision functions, including the sub-collision functions.
If you're still a bit stuck, post your code using the <codebox> </codebox> tags (change <> for []) as Shifty suggested and we can take a look at it for you.