public override void UpdateAabbs()
        {
            Vector3 colorvec = new Vector3(1, 0, 0);

            for (int i = 0; i < CollisionObjects.Count; i++)
            {
                CollisionObject colObj = CollisionObjects[i];
                RigidBody       body   = RigidBody.Upcast(colObj);

                if (body != null)
                {
                    //	if (body->IsActive() && (!body->IsStatic()))
                    {
                        Vector3 minAabb, maxAabb;
                        colObj.CollisionShape.GetAabb(colObj.WorldTransform, out minAabb, out maxAabb);
                        OverlappingPairCache bp = BroadphasePairCache;

                        //moving objects should be moderately sized, probably something wrong if not
                        if (colObj.IsStaticObject || ((maxAabb - minAabb).LengthSquared() < 1e12f))
                        {
                            bp.SetAabb(body.Broadphase, minAabb, maxAabb);
                        }
                        else
                        {
                            //something went wrong, investigate
                            //this assert is unwanted in 3D modelers (danger of loosing work)
                            BulletDebug.Assert(false);
                            body.ActivationState = ActivationState.DisableSimulation;

                            if (_reportMe)
                            {
                                _reportMe = false;
                                Console.WriteLine("Overflow in AABB, object removed from simulation \n");
                                Console.WriteLine("If you can reproduce this, please email [email protected]\n");
                                Console.WriteLine("Please include above information, your Platform, version of OS.\n");
                                Console.WriteLine("Thanks.\n");
                            }
                        }
                        if (_debugDrawer != null && (_debugDrawer.DebugMode & DebugDrawModes.DrawAabb) != 0)
                        {
                            DrawAabb(_debugDrawer, minAabb, maxAabb, colorvec);
                        }
                    }
                }
            }
        }