示例#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)
示例#2
0
    def generate(self):
        DistributedEntity.generate(self)

        self.pickupSound = base.loadSfx(self.PickupSoundPath)
示例#3
0
 def generate(self):
     DistributedEntity.generate(self)