If you create custom geometry like that
dBodyDestroy( this ); vector m_MinMax[2]; vector m_Size; this.GetCollisionBox(m_MinMax); m_Size[0] = m_MinMax[1][0] - m_MinMax[0][0]; m_Size[2] = m_MinMax[1][2] - m_MinMax[0][2]; m_Size[1] = m_MinMax[1][1] - m_MinMax[0][1]; autoptr PhysicsGeomDef geoms[] = {PhysicsGeomDef("", dGeomCreateBox(m_Size), "material/default", 0xffffffff)}; dBodyCreateDynamicEx( this, "0 0 0", 1, geoms );
Then physics simulation will stop on it after some time (10-15 seconds)