I followed the instructions and received no reply. I presume it's a very old message and not to be taken seriously that this is a bullet bug.Overflow in AABB, object removed from simulation
If you can reproduce this, please email bugs@continuousphysics.com
Please include above information, your Platform, version of OS.
Thanks.
In Debug, I followed this to a chunk of code in btCollisionWorld.cpp as follows:
Code: Select all
//moving objects should be moderately sized, probably something wrong if not
if ( colObj->isStaticObject() || ((maxAabb-minAabb).length2() < btScalar(1e12)))
{
bp->setAabb(colObj->getBroadphaseHandle(),minAabb,maxAabb, m_dispatcher1);
} else
{
//something went wrong, investigate
//this assert is unwanted in 3D modelers (danger of loosing work)
colObj->setActivationState(DISABLE_SIMULATION);
static bool reportMe = true;
if (reportMe && m_debugDrawer)
{
reportMe = false;
m_debugDrawer->reportErrorWarning("Overflow in AABB, object removed from simulation");
m_debugDrawer->reportErrorWarning("If you can reproduce this, please email bugs@continuousphysics.com\n");
m_debugDrawer->reportErrorWarning("Please include above information, your Platform, version of OS.\n");
m_debugDrawer->reportErrorWarning("Thanks.\n");
}
}
Debug also shows this error repeatedly from bullet when the above error occurs:original max 182.967636, 30.605700, 380.855377, min -171.433273, -42.644302, -141.466721
tangent max 1829.676392, 306.057007, 3808.553711, min -1714.332764, -426.443024, -1414.667236
shape a -171.433273,-42.644302,-141.466705, b 182.967636,30.605698,380.855377
scaled shape a -1714.332764,-426.442993,-1414.667114, b 1829.676514,306.057007,3808.553711
This comes from btGjkPairDetector.cpp. I was unable to locate the integer values for A and B Shape Types in a way that made any sense. It suggests a box and a capsule. I do have a capsule hidden on the level for later, and the space ship flying toward the level at that point is a box shape, this may be a lead, but I have to presume the culprit is my tri mesh. I couldn't clearly make sense of the enum for shape types.sepAxis=(nan,nan,nan), squaredDistance = nan, shapeTypeA=10,shapeTypeB=1
btGjkPairDetector maxIter exceeded:1002
I'll admit the level is rather large, but it wouldn't seem it would calculate out to the tested length value in the bullet code. Has anyone seen this before or do you have any ideas for debugging it. I'm at a loss.