ya2 · news · projects · code · about

dds and bam
[pmachines.git] / pmachines / items / shelf.py
index 357ca09ff2346109440e2c4220b2aff6f5ab07bb..2710dd68c5914449fd2182b8fa7df2ff07b0dbd6 100644 (file)
@@ -5,7 +5,7 @@ from pmachines.items.item import Item
 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)
+        super().__init__(world, plane_node, cb_inst, curr_bottom, repos, 'assets/models/bam/shelf/shelf.bam', mass=mass, pos=pos, r=r, count=count, restitution=restitution, friction=friction)
 
     def _set_shape(self, apply_scale=True):
         self.node.add_shape(BulletBoxShape((1, .5, .05)))