Ejemplo n.º 1
0
 def __init__(self, obj, parent=None):
     logger.info("%s initialization" % obj.name)
     # Call the constructor of the parent class
     LaserScanner.__init__(self, obj, parent)
     self.bge_object.applyRotation(
         [0, radians(90 - self.scan_coverage / 2), 0], True)
Ejemplo n.º 2
0
 def __init__(self, obj, parent=None):
     logger.info("%s initialization" % obj.name)
     # Call the constructor of the parent class
     LaserScanner.__init__(self, obj, parent)
     self.bge_object.applyRotation([0,radians(90-self.scan_coverage/2),0],True)