[ODE] 0.8.2 candidate
b.stolk at gmail.com
Thu Sep 27 21:25:18 MST 2007
On 9/27/07, Jean-Sébastien Guay <jean-sebastien.guay at polymtl.ca> wrote:
> - in demo_moving_trimesh, when dropping a trimesh with 'm', I get
> "assertion "dFabs(dVector3Length((dVector3&)*normal) - REAL(1.0)) <
> dEpsilon" failed in
> ..\..\ode\src\collision_trimesh_trimesh_new.cpp:328". Is this expected
> with the new trimesh collider? With the old collider (#define
> dTRIMESH_OPCODE_USE_NEW_TRIMESH_TRIMESH_COLLIDER 0) I don't get the
> assertion failure, but the dropped bunny never comes to a rest. It
> bounces around (hehe, a bouncing bunny) and penetrates a bit, and
> eventually bounces high enough that it falls beside the other bunnies.
> But I think that's how it's been for a while, and why you generally
> don't recommend to use trimesh/trimesh collision.
For trimesh vs trimesh you are best off with GIMPACT instead of OPCODE.
That NEW_TRIMESH mode is not set up yet in the UNIX build, so I could not do
a quick test.
Maybe the assert can be solved by going double precision.
Or maybe simply change to 10*dEpsilon ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ODE