[ODE] Re: dCylinder

Russ Smith russ at q12.org
Tue Feb 4 21:58:02 2003


> I didn't implemented it. I used the contribution of Konstantin 
> Slipchenko and I fixed a few issues (Konstantin gave me its latest 
> version which compiles with the new collision detection system of ODE 
> 0.035, and I added a function for Cylinder - Ray collision detection 
> which was missing). All what I have is here. I would like to be able
> to commit it in the CVS repository, but I have no rights do do it,
> anyone could help ?

yes ... i've updated ODE's contrib/dCylinder directory with your newer
code. thanks.

> By the way, I would like to contribute a dMassSetCylinder. I currently
> use the dMassSetCappedCylinder, but I assume it is a wrong
> approximation for a normal Cylinder.

yes, it's not exact for a cylinder, especially one that has a short
length (i.e. almost a sphere). however many simulations will not care
about the difference (it looks almost the same either way). anyhow, if
you write dMassSetCylinder() it can be added to mass.cpp along with the
other mass functions.

russ.

-- 
Russell Smith
http://www.q12.org