bulletbase.py
def createBox(self, mass, pos, exts, **kwargs): # {{{1
    "Insert a new box into the world"
    coll = self.createCollision(p.GEOM_BOX, halfExtents=exts)
    obj = self.createMultiBody(mass, coll, basePosition=pos, **kwargs)
    return obj
Insert a new box into the world
Insert a new box into the world
Insert a new box into the world
def createBox(self, mass, pos, exts, **kwargs): 
    coll = self.createCollision(p.GEOM_BOX, halfExtents=exts)
    obj = self.createMultiBody(mass, coll, basePosition=pos, **kwargs)
    return obj
def createBox ( self , mass , pos , exts , ** kwargs ) : coll = self . createCollision ( p . GEOM_BOX , halfExtents = exts ) obj = self . createMultiBody ( mass , coll , basePosition = pos , ** kwargs ) return obj
Insert a new box into the world
Insert a new box into the world
# {{{1 "Insert a new box into the world"
self
mass
pos
exts