[ODE] Trimesh Collisions in ODE

Philip Mayes philip_j_mayes at yahoo.co.nz
Fri Feb 18 10:18:06 MST 2005


I am using ODE as a dynamics solution in a game our
class is making. I had originally intended to use a
3rd-party collision engine, but that is just not
panning out.

Instead I thought I could be a little more clever
about generating contacts using ODE's trimesh
collider.

My existing code breaks down a trimesh into a series
of hierarchical bounding boxes, each containing a
segment of the trimesh, similar to a 3-level octree.
This allows me to quickly find which segments of two
models may be intersecting.

Onto the questions:

- Does ODE's trimesh collision do this already (using
BSP cuts or similar)?

- Could I achieve the same hierarchical approach using
spaces within spaces within spaces, or dould this be
prohibitively slow?

Any help would be appreciated.

Philip Mayes

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com


More information about the ODE mailing list