Obstacle Avoidance Optimization

This commit is contained in:
ElCeejo 2022-08-08 15:52:48 -07:00
parent 217ad7615e
commit 3b1085f309
3 changed files with 51 additions and 23 deletions

View file

@ -154,6 +154,7 @@ function mob:halt()
}
--self.object:set_velocity({x = 0, y = 0, z = 0})
self._path_data = {}
self._tyaw = self.object:get_yaw() or 0
end
-- Turn to specified yaw