> When I do dWorldDestroy does it free the memory that was allocated and > passed to dGeomTriMeshDataBuildSingle? Or, should I keep pointers > around and free/delete it manually at the end? ode does not do cleanup for the vertex/index data. You have to do that manually, or overwrite the destructor of dxTriMesh and have it delete the data. - Marco Grubert