Quote Originally Posted by Joeiiii View Post
What is the problem? The bait is anywhere and the enemies too (elsewhere). And between the enemies and the bait a tiles. Solids and others.



Ok, a single fast way doesn't always exist, because it doesn't matter if the octrok for example goes down, left, left, left, down, left OR left, left, left down, left, down OR down, down, left, left, left, left... or whatever. The route is the goal.

A magic octorok can kill you in a few seconds, but a tree between the octorok is a problem?
In software logic, valid paths look more like this:



Each of those arrows is a valid node, from which you derive coordinates, and movement to go from A to B. In theory, the object (circled) may never reach B, because it can walk an infinite path. That's where logic such as A* helps:

That's an algorithm to resolve stuff like this, but it isn't perfect, and implementing it is a complex process.