Пример #1
0
 def set_virtual_ground(self, chassis_np: Vec3):
     self.GROUND_MODEL.setPos(-128, 0, self.GROUND)
     self.GROUND_MODEL.setP(-chassis_np.getP())
     self.GROUND_MODEL.setH(chassis_np.getH())
Пример #2
0
 def renew_pos_of_ground_mode(self, chassis_np: Vec3, task):
     self.ground_model.setPos(-128, 0, self.GROUND)
     self.ground_model.setP(-chassis_np.getP())
     return task.cont