[ODE] gimpact ray collision

gabdab gabdab at spamhole.com
Wed Nov 22 04:00:34 MST 2006



Thanks for replying Francisco,
I was trying to use gimpact out of ode contest ..
I will check how ode uses it .
Gab-


Francisco Leon wrote:
> 
> Are you using dCollideRayTrimesh? 
> Actually it gives the collision point in the contact
> result. At this moment I haven't notice anything wrong
> with this function.
> 
> --- gabdab <gabdab at spamhole.com> wrote:
> 
>> 
>> Hello,
>> 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
>> callback.
>> 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 :)
>> Gab-
>> -- 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/gimpact-ray-collision-tf2663397.html#a7488841
Sent from the ODE mailing list archive at Nabble.com.



More information about the ODE mailing list