[ODE] gimpact ray collision

gabdab gabdab at spamhole.com
Sun Nov 19 04:04:36 MST 2006

I am trying to test gimpact trimesh ray collisions but due to a lack of
experience I am wondering how I should do to keep a character over the
ground ( trimesh ).
I am setting up a void fx for ray collision and calling it back in glut
I keep getting a fixed value for tmax is that correct (1.73761e-43) ?
I know you usually call like :
 x = (float)(origin[0] + (dir[0] * Tmax));
 y = (float)(origin[1] + ( dir[1] * Tmax)) ;
 z = (float)(origin[2] + ( dir[2] * Tmax)) ;

Or have I misunderstud the tmax ?

Thanks for any help you can give :)
View this message in context: http://www.nabble.com/gimpact-ray-collision-tf2663397.html#a7428036
Sent from the ODE mailing list archive at Nabble.com.

More information about the ODE mailing list