[ODE] box-trimesh collision trouble
Megan Fox
shalinor at gmail.com
Wed Dec 8 08:09:47 MST 2004
Given that you already changed the contacts to a high number, I'll
assume you checked it, but is your stepsize somewhere in the
neighborhood of 0.01 or smaller?
-Megan Fox
On Wed, 8 Dec 2004 13:12:16 +0100, Martin Insulander
<martin at insulander.com> wrote:
> Hi all,
>
> I'm having a bit of trouble using trimeshes for terrain. My problem is that
> boxes fall through the terrain (the usual it seems). The odd thing is that
> a few of the triangles work pretty much all the time, but most don't. And
> spheres work flawlessly. When dropping boxes on some of the triangles they
> appear to bounce off in the wrong direction as if the normal was messed up,
> but most of the time the boxes just fall right through (no contacts
> generated).
>
> I've tried the common gotchas I found from the archives:
> * Reducing size of the trimesh (it's 16x16 triangles at the moment, doesn't
> seem to make a difference)
> * Getting the winding right. Turned on backface culling while drawing using
> the same vertex and index data. Tried messing with the index order.
> * Set MAX_CONTACTS to 128.
> * I tried to pass pre-generated normals to dGeomTriMeshDataBuild with no
> apparent effect (btw, are these supposed to be 4 dReals as in *BuildSimple?)
>
> So now I'm out of ideas.. Please help if you feel like it.
>
> Thanks,
> Martin
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
More information about the ODE
mailing list