[ODE] Tri-collider with current ODE collision code

Vadim Macagon vadim_mcagon at hotmail.com
Sun May 25 04:59:02 2003


> struct dxTriangle
> {
> char unused [sizeof (dxGeom)];
> dReal x,y,z,d;
> };

Aggghhh, could we please avoid such ugly hacks? :)

> The main problem is that tri-collider uses dCollideBoxPlane, and the geom
> that it passes to dCollideBoxPlane must be laid out in memory in a way
> that matches dxPlane.  

Could you write a dCollideBoxTriangle instead of the above hack?


Cheers,

Vadim.