mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-07-07 07:10:27 -04:00
Bug fixes
This commit is contained in:
parent
fc6a203da2
commit
72f55abc2d
3 changed files with 3 additions and 4 deletions
|
@ -305,7 +305,7 @@ creatura.register_movement_method("creatura:obstacle_avoidance", function(self)
|
|||
_self:halt()
|
||||
return true
|
||||
end
|
||||
--local steer_to = get_avoidance_dir(_self, goal)
|
||||
local steer_to = get_avoidance_dir(_self, goal)
|
||||
-- Get movement direction
|
||||
local goal_dir = vec_dir(pos, goal)
|
||||
if steer_to then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue