[ODE] New stuff

Thomas Harte thomasharte at lycos.co.uk
Sun Aug 18 16:35:02 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--=_NextPart_Caramail_0021751029713663_ID
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

> The dRay class now returns reflection normals, and penetation depths. The
> penetration depth of a line is the distance between the contactpoint and the
> endpoint of the line.

I'm sorry, I have not tried your code, but is this not incorrect? My reading of the various 
documentation was that penetration depth was distance along the normal vector, so that 
ODE can discreetly apply a penalty method. i.e. the amount you'd want would be

(endpoint - contactpoint).(plane normal)

not, what you seem to be saying :

| endpoint - contactpoint |

I bring this up mostly because I am new to ODE and am wondering - have I 
misunderstood what the penetration depth information is for?

-Thomas
______________________________________________________
Check out all the latest outrageous email attachments on the Outrageous Email Chart! - http://viral.lycos.co.uk	


--=_NextPart_Caramail_0021751029713663_ID--