[ODE] Sphere-trimesh issues

John Donovan JohnD at MagentaSoftware.com
Fri Jun 24 13:55:49 MST 2005


Hi all,
I have a simple scene of a trimesh bowl (actually the sum of two cosines
inverted) about 100 units on a side, and a sphere with a mass of 1, and
radius of 5.
When I drop the sphere into the bowl, the sphere rolls around auite
convincingly, but will tend to embed itself in a triangle. It looks like
ODE is only doing collisions on the edges of the triangles and not the
faces, because the sphere will settle down wedged into a triangle.
I have a fine-grained fixed timestep (I've tried from 0.01 to 0.003 with
both dWorldStep() and dWorldQuickStep()), and tried various ERP and CFM
values, but with little difference.
I wondered if ODE was calculating face normals incorrectly, so I
generated my own face normals, but discovered that
dGeomTriMeshDataBuildSingle1() is in the header, but isn't implemented
in the dll! I'm using the win32 binaries of version 0.5 with MSVC 7.0

On a slightly different note, has anyone tried using the SOLID collision
detection library with ODE? I've thought about using that with the same
test-case to see if ODE was generating incorrect contact joints or
somesuch. It also handles convex hulls, which sounds quite appealing.

John Donovan

The content of this message and any attached file are confidential and/or privileged and are for the intended recipient only. If you are not the intended recipient, any unauthorised use, disclosure, copying, distribution or other dissemination is strictly prohibited. If you receive this message in error please notify the sender immediately by email, telephone or fax and then delete this email. Any attachment with this message should be checked for viruses before it is opened. Magenta Software Limited cannot be held responsible for any failure by the recipient to check for viruses before opening any attachment. Copyright in this email and attachments created by us belongs to Magenta Software Limited. Should you communicate with anyone at Magenta Software Limited by email you consent to us monitoring and reading any such correspondence. 






More information about the ODE mailing list