示例#1
0
        public ICompoundShapeImp AddCompoundShape(bool enableDynamicAabbTree)
        {
            var btCompoundShape = new CompoundShape(enableDynamicAabbTree);

            BtCollisionShapes.Add(btCompoundShape);

            var retval = new CompoundShapeImp();

            retval.BtCompoundShape     = btCompoundShape;
            btCompoundShape.UserObject = retval;
            return(retval);
        }
        public ICompoundShapeImp AddCompoundShape(bool enableDynamicAabbTree)
        {
            var btCompoundShape = new CompoundShape(enableDynamicAabbTree);
            BtCollisionShapes.Add(btCompoundShape);

            var retval = new CompoundShapeImp();
            retval.BtCompoundShape = btCompoundShape;
            btCompoundShape.UserObject = retval;
            return retval;
        }