Пример #1
0
 def __init__(self, model, entity_id):
     SteerController.__init__(self, model, entity_id)
Пример #2
0
 def __init__(self, model, entity_id):
     SteerController.__init__(self, model, entity_id)
     self.safe_distance=1.0
Пример #3
0
 def __init__(self, model, entity_id):
     SteerController.__init__(self, model, entity_id)
Пример #4
0
 def __init__(self, model, entity_id):
     SteerController.__init__(self, model, entity_id)
     self.align=self.SteerForAlign(model, entity_id)
     self.group=self.SteerForCohesion(model, entity_id)
     self.avoid=self.SteerForSeparation(model, entity_id)
Пример #5
0
 def __init__(self, model, entity_id):
     SteerController.__init__(self, model, entity_id)
     self.offset=75
     self.side=1.0
Пример #6
0
 def __init__(self, model, entity_id):
     SteerController.__init__(self, model, entity_id)
     self.align = self.SteerForAlign(model, entity_id)
     self.group = self.SteerForCohesion(model, entity_id)
     self.avoid = self.SteerForSeparation(model, entity_id)
Пример #7
0
 def __init__(self, model, entity_id):
     SteerController.__init__(self, model, entity_id)
     self.offset = 75
     self.side = 1.0