def startDarkFog(self, pos):
     self.fogEffect = DarkShipFog.getEffect()
     if self.fogEffect:
         self.fogEffect.reparentTo(self.getParentObj())
         self.fogEffect.setPos(pos)
         self.fogEffect.setY(self.fogEffect, 80)
         self.fogEffect.setZ(self.fogEffect, 50)
         self.fogEffect.startLoop()
Пример #2
0
 def startDarkFog(self, pos):
     self.fogEffect = DarkShipFog.getEffect()
     if self.fogEffect:
         self.fogEffect.reparentTo(self.getParentObj())
         self.fogEffect.setPos(pos)
         self.fogEffect.setY(self.fogEffect, 80)
         self.fogEffect.setZ(self.fogEffect, 50)
         self.fogEffect.startLoop()
Пример #3
0
 def startDarkFog(self, offset=None):
     self.fogEffect = DarkShipFog.getEffect()
     if self.fogEffect:
         self.fogEffect.reparentTo(self.shipRoot)
         if offset:
             self.fogEffect.setY(self.fogEffect, offset)
         self.fogEffect.setZ(self.fogEffect, 50)
         self.fogEffect.startLoop()
 def startDarkFog(self, offset = None):
     self.fogEffect = DarkShipFog.getEffect()
     if self.fogEffect:
         self.fogEffect.reparentTo(self.shipRoot)
         if offset:
             self.fogEffect.setY(self.fogEffect, offset)
         
         self.fogEffect.setZ(self.fogEffect, 50)
         self.fogEffect.startLoop()