[ODE] dCylinder - Ray collision
slipch
slipch <slipch at gsc-game.kiev.ua>
Wed Jan 22 07:52:01 2003
Hello Olivier,
Wednesday, January 22, 2003, 10:58:21 AM, you wrote:
OM> slipch wrote:
>>Hello Olivier,
>>
>>Monday, January 20, 2003, 12:35:18 PM, you wrote:
>>
>>OM> I noticed that the dCylinder contrib misses the Cylinder - Ray collision.
>>OM> Did anyone already implemented this ? If not, I will do it and
>>OM> contribute it to the dCylinder contrib.
>>
>>It has not been implemented yet. If you do not need precise Cylinder
>>-Ray you may use CCylinder -Ray or Box - Ray collide functions.
>>
>>
OM> Actually, I needed precise Cylinder - Ray collision detection. So, I
OM> implemented it. Here is the new version of the dCylinder contribution,
OM> including the Cylinder - Ray collision detection. It is based on the new
OM> zip file you sent on the mailing list (hence works the new collision
OM> detection system). I tested it with several cases (hopefully all the
OM> possible cases, with top, bottom and side of the cylinder, using
OM> different positions and orientations of the cylinder) and it seems to
OM> work nicely. How shall we proceed to include it to the CVS ?
OM> -Olivier
It is ok to update it CVS except due to change name of variable
dCylinderClass to dCylinderClassUser some old code would not compile.
--
Best regards,
Konstantin Slipchenko.