Auto Drone Experiment v2

Cralant - Custom level - Apr 23, 2014 from Android
Play Edit 24 players liked this.

The second version this time with more optimized and rewritten code. This method uses the hypotenuse length of the orthogonal nodes to detect which is the best to move to. Canceling out those has get stuck in corners or wall pieces. The script also disallows the drone to double back on itself.

Now its much smarter, accurate and precise although there is still the occasional issue with certain layouts. And not taking the shortest route. Further fixes should make this work better.

This version still uses the same collision detection as the previous script, eventually I will implement the more precise version using a single query and working out the intersections of the objects with each tile. This should make the collision detection more accurate and more optimized.

Downloads: 416 - Level ID: 5340

Derivatives