jackmakesthings / game-dev

return False; an experiment in AI and decision-making, via Godot Engine
GNU General Public License v2.0
3 stars 2 forks source link

_Environment.gd - see if we still need the adjust_path logic #109

Closed jackmakesthings closed 7 years ago

jackmakesthings commented 8 years ago

Looking at the godot source, it seems like it might be smart enough to adjust its destination if it's trying to pathfind to an unwalkable spot - but need to confirm this before changing anything.

jackmakesthings commented 7 years ago

Updated the walker logic to use get_closest_point, seems to handle itself correctly.

jackmakesthings commented 7 years ago

Note - get_closest_point is fine but make_input_local has problems; going back to the affine_transform stuff.