[ODE] Sphere/Trimesh not working

J. Perkins starkos at gmail.com
Mon Sep 27 09:59:02 MST 2004


On Sat, 25 Sep 2004 00:25:08 +0200 (CEST), Andrzej Szombierski
<qq at kuku.eu.org> wrote:
> On Fri, 24 Sep 2004, J. Perkins wrote:
> 
> > My sphere/trimesh collisions aren't working. As soon as the sphere
> > touches the mesh it shoots out the other side instead of boucing off.
> > Box/trimesh works, as does sphere/box.  Has anyone seen this before?
> > Any idea what I could be doing wrong?
> 
> Flip the triange normals (reverse the vertex order), it should help.

FYI, this did fix the sphere/mesh collision. Is there any chance the
face winding could be made configurable, either at runtime or
compile-time? I tried to modify it myself on the train ride in this
morning but couldn't figure it out, maybe I can get back to it later
today.

Jason


More information about the ODE mailing list