[ODE] collisoin_trimesh_box.cpp bug?

Adam D. Moss adam at gimp.org
Sun Apr 4 09:19:53 MST 2004


arcad wrote:
> The other day faced with the following problem...
> I use TriMesh geom for geometry level.
> If on way of the body was a double wall and body moved it is enough quickly, that it was not repulsed, but stuck in wall.
> This is because contacts were generated for both polygons with opposite normal.
>  One contacts tried to pop the body, but others opposite delayed him.
> Has fixed this as follows.
> In "collision_trimesh_box.cpp" after call FetchTriangle(TriMesh, TriIndex, TLPosition, TLRotation, dv);
> has inserted check: where is turned normal of the polygon for the centre of the body.

trimesh<->box collision was rewritten after ODE 0.039... you
could try one of the snapshots (if you're not already).

--Adam
-- 
Adam D. Moss   . ,,^^   adam at gimp.org   http://www.foxbox.org/   co:3


More information about the ODE mailing list