[ODE] collision mesh

Jon Watte (ODE) hplus-ode at mindcontrol.org
Tue Nov 8 17:18:52 MST 2005


A single mesh does not need to be closed or manifold.

However, when you want to move only parts of it, I would suggest 
generating each part as a separate mesh, and attaching the meshes using 
a dGeomTransform() to allow changing the offset.

Or, if the "room" doesn't move, I'd actually recommend not using a body 
for the room at all, but instead attaching each mesh to the NULL (static 
environment) body.

Cheers,

			/ h+


Brad Hittle wrote:
> Hi Everyone,
> 
> The program I'm writing is a virtual environment where you view the
> world through a head mount display, and you have a wand that interacts
> with the environment.  What I'm working towards is a dynamic
> environment that you can add primitives (box, sphere, etc) and interact
> with these dynamically in the room.  I'm using Delta3D, which has a
> layer for dynamic objects.  What we have right now is the ability to
> spawn boxes/spheres/etc and these interact properly with everything in
> the room.




More information about the ODE mailing list