[ODE] Merging multiple geoms into a single trimesh - a few issues

Bruce Mitchener bruce at cubik.org
Fri Jan 14 14:00:43 MST 2005

Megan Fox wrote:
> If we're already storing 32 bits, might as well allow pointers.  In my
> case, I tend to store the object pointer rather than any particular
> material or similar value (and I then pass a COLLIDED_WITH event to
> each object with the pointer of the other object, and let them do
> whatever they want as far as extracting materials or just ignoring it
> entirely)... so I'd end up building a secondary map from triangle
> index to object pointer anyways, might as well skip that step if I
> can.

Except that you can't rely on pointers being 32 bits...

  - Bruce

More information about the ODE mailing list