Exemplo n.º 1
0
    def generate(self):
        DistributedEntity.generate(self)

        sph = BulletSphereShape(1.0)
        gn = BulletGhostNode(self.uniqueName("pickupGhost"))
        print gn.getName()
        gn.addShape(sph)
        self.collNode = self.attachNewNode(gn)

        self.pickupSound = base.loadSfx(self.PickupSoundPath)
Exemplo n.º 2
0
    def generate(self):
        DistributedEntity.generate(self)

        self.pickupSound = base.loadSfx(self.PickupSoundPath)
Exemplo n.º 3
0
 def generate(self):
     DistributedEntity.generate(self)