diff --git a/src/physics/physical_object.cpp b/src/physics/physical_object.cpp index 1e4b58f07..7f67cd85d 100644 --- a/src/physics/physical_object.cpp +++ b/src/physics/physical_object.cpp @@ -54,7 +54,8 @@ PhysicalObject::PhysicalObject(const XMLNode &xml_node) if (shape=="cone" ) m_body_type = MP_CONE; else if(shape=="box" ) m_body_type = MP_BOX; else if(shape=="sphere" ) m_body_type = MP_SPHERE; - + else fprintf(stderr, "Unknown shape type : %s\n", shape.c_str()); + m_init_pos.setIdentity(); m_init_pos.setOrigin(m_init_xyz);