diff --git a/ephysics/body/RigidBody.cpp b/ephysics/body/RigidBody.cpp index a90c6f3..6f223de 100644 --- a/ephysics/body/RigidBody.cpp +++ b/ephysics/body/RigidBody.cpp @@ -256,9 +256,9 @@ void RigidBody::updateBroadPhaseState() const { for (ProxyShape* shape = m_proxyCollisionShapes; shape != nullptr; shape = shape->m_next) { // Recompute the world-space AABB of the collision shape AABB aabb; - EPHY_ERROR(" : " << aabb.getMin() << " " << aabb.getMax()); + EPHY_VERBOSE(" : " << aabb.getMin() << " " << aabb.getMax()); shape->getCollisionShape()->computeAABB(aabb, m_transform *shape->getLocalToBodyTransform()); - EPHY_ERROR(" : " << aabb.getMin() << " " << aabb.getMax()); + EPHY_VERBOSE(" : " << aabb.getMin() << " " << aabb.getMax()); // Update the broad-phase state for the proxy collision shape m_world.m_collisionDetection.updateProxyCollisionShape(shape, aabb, displacement); } diff --git a/ephysics/collision/broadphase/DynamicAABBTree.cpp b/ephysics/collision/broadphase/DynamicAABBTree.cpp index 70909e0..6c09899 100644 --- a/ephysics/collision/broadphase/DynamicAABBTree.cpp +++ b/ephysics/collision/broadphase/DynamicAABBTree.cpp @@ -131,8 +131,8 @@ bool DynamicAABBTree::updateObject(int32_t _nodeID, const AABB& _newAABB, const assert(_nodeID >= 0 && _nodeID < m_numberAllocatedNodes); assert(m_nodes[_nodeID].isLeaf()); assert(m_nodes[_nodeID].height >= 0); - EPHY_INFO(" compare : " << m_nodes[_nodeID].aabb.m_minCoordinates << " " << m_nodes[_nodeID].aabb.m_maxCoordinates); - EPHY_INFO(" : " << _newAABB.m_minCoordinates << " " << _newAABB.m_maxCoordinates); + EPHY_VERBOSE(" compare : " << m_nodes[_nodeID].aabb.m_minCoordinates << " " << m_nodes[_nodeID].aabb.m_maxCoordinates); + EPHY_VERBOSE(" : " << _newAABB.m_minCoordinates << " " << _newAABB.m_maxCoordinates); // If the new AABB is still inside the fat AABB of the node if ( _forceReinsert == false && m_nodes[_nodeID].aabb.contains(_newAABB)) {