simulation.py
def dropBody(self): # {{{0
    "Drop an object onto the pile of things"
    m = self.objectMass() * 100
    r = 0.5
    z = self.worldSize() - 4*self.wallThickness() - 2*r
    self._bodies.add(self.createSphere(m, V3(0, 0, z), radius=r))
Drop an object onto the pile of things
Drop an object onto the pile of things
Drop an object onto the pile of things
def dropBody(self): 
    m = self.objectMass() * 100
    r = 0.5
    z = self.worldSize() - 4*self.wallThickness() - 2*r
    self._bodies.add(self.createSphere(m, V3(0, 0, z), radius=r))
def dropBody ( self ) : m = self . objectMass ( ) * 100 r = 0.5 z = self . worldSize ( ) - 4 * self . wallThickness ( ) - 2 * r self . _bodies . add ( self . createSphere ( m , V3 ( 0 , 0 , z ) , radius = r ) )
Drop an object onto the pile of things
Drop an object onto the pile of things
# {{{0 "Drop an object onto the pile of things"
self