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)
def generate(self): DistributedEntity.generate(self) self.pickupSound = base.loadSfx(self.PickupSoundPath)
def generate(self): DistributedEntity.generate(self)