mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-07-18 20:36:41 -04:00
Obstacle Avoidance Optimization
This commit is contained in:
parent
217ad7615e
commit
3b1085f309
3 changed files with 51 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue