def announceGenerate(self):
        DistributedEntity.announceGenerate(self)
        DistributedToon.announceGenerate(self)
        self.activateSmoothing(True, False)
        self.startSmooth()

        self.reparentTo(render)

        self.setAnimState('Happy')
Exemplo n.º 2
0
    def announceGenerate(self):
        DistributedToon.announceGenerate(self)

        self.bodyNP.setPythonTag('useableObject', self)

        self.startSmooth()

        self.reparentTo(render)

        self.setAnimState('Happy')