Exemplo n.º 1
0
 def onCollision(self, entry):
     TrapGag.onCollision(self, entry)
     gag = self.gag
     if not gag:
         gag = self.entity
     x, y, z = gag.getPos(render)
     self.avatar.sendUpdate('setGagPos', [self.getID(),
      x,
      y,
      z])
 def onCollision(self, entry):
     TrapGag.onCollision(self, entry)
     x, y, z = self.entity.getPos(render)
     base.localAvatar.sendUpdate('setGagPos', [self.getID(), x, y, z])