Exemple #1
0
 def onBound(self):
     PyGUIBase.onBound(self)
     offset = self.component.scene.position
     offset[2] = 0
     self.tr.setTranslate(offset)
     self.component.scene.transform.target = self.target
     self.moveTo(self.component.position)
Exemple #2
0
 def onBound(self):
     PyGUIBase.onBound(self)
     offset = self.component.scene.position
     offset[2] = 0
     self.tr.setTranslate(offset)
     self.component.scene.transform.target = self.target
     self.moveTo(self.component.position)
Exemple #3
0
 def __init__(self, component):
     PyGUIBase.__init__(self, component)
     self.isActive = 0
     self.inRange = 1
     self.camera = None
     self.targetID = 0
     self.inTransit = 0
     self.tr = Math.Matrix()
     self.tr.setIdentity()
     self.mx = Math.Matrix()
     self.mx.setIdentity()
     self.target = Math.Matrix()
     self.target.setIdentity()
     self.bug = None
     self.guiViewer = None
     return
Exemple #4
0
 def __init__(self, component):
     PyGUIBase.__init__(self, component)
     self.isActive = 0
     self.inRange = 1
     self.camera = None
     self.targetID = 0
     self.inTransit = 0
     self.tr = Math.Matrix()
     self.tr.setIdentity()
     self.mx = Math.Matrix()
     self.mx.setIdentity()
     self.target = Math.Matrix()
     self.target.setIdentity()
     self.bug = None
     self.guiViewer = None
     return
 def onLoad(self, section):
     PyGUIBase.onLoad(self, section)
     FantasyDemo.initConsole()
 def __init__(self, component):
     PyGUIBase.__init__(self, component)
Exemple #7
0
 def onLoad(self, section):
     PyGUIBase.onLoad(self, section)
     FantasyDemo.initConsole()
Exemple #8
0
 def __init__(self, component):
     PyGUIBase.__init__(self, component)