pathfinding algorithm

noun
UK /ˈpɑːθfaɪndɪŋ ˈælɡərɪðəm/
US /ˈpæθfaɪndɪŋ ˈælɡərɪðəm/

A pathfinding algorithm is a set of steps a computer uses to find the best way from one place to another.

The game uses a pathfinding algorithm so the character can walk around walls to reach the treasure.


OTHER MEANINGS

2. A method used in video games to make characters move smoothly toward a target.

The pathfinding algorithm keeps the enemies from getting stuck behind rocks.

3. A technique in robotics for planning a safe route through a space.

The robot's pathfinding algorithm helped it avoid obstacles in the warehouse.

4. A way to find connections in a network, like the fastest route on a map.

The map app's pathfinding algorithm found a shortcut through the side streets.