ya2 · news · projects · code · about

scene: teeter tooter
[pmachines.git] / pmachines / items / shelf.py
index af175f98fbb9140180c4ac0c6d981ab883e9cb8e..357ca09ff2346109440e2c4220b2aff6f5ab07bb 100644 (file)
@@ -7,5 +7,5 @@ class Shelf(Item):
     def __init__(self, world, plane_node, cb_inst, curr_bottom, repos, mass=1, pos=(0, 0, 0), r=0, count=0, restitution=.5, friction=.6):
         super().__init__(world, plane_node, cb_inst, curr_bottom, repos, 'assets/gltf/shelf/shelf.gltf', mass=mass, pos=pos, r=r, count=count, restitution=restitution, friction=friction)
 
-    def _set_shape(self):
+    def _set_shape(self, apply_scale=True):
         self.node.add_shape(BulletBoxShape((1, .5, .05)))