[ODE] Problem with Trimesh

Stuart O Anderson soa at andrew.cmu.edu
Mon Nov 17 09:47:24 MST 2003

Hi -

I've got a problem with dGeomTriMeshGetTriangle, which appears both in my
own code and with the test_trimesh code.  Essentially I'm getting the
wrong values back from the function.  For example, I retreive vtx 1 of
triangle 1 in test_trimesh right before calling dsSimulationLoop for the
first time.  It get <1,-5,-5,0>, which doesn't make any sense since no
vertex should have '1' as a component.  (the correct result would have
been <-5,-5,2.5>).  I checked out the relevant code but can't see anything
obviously wrong.  Maybe something inside of OPCODE?  has anyone else run
into this?


More information about the ODE mailing list