AStar 2D Grid Pathfinding View on Asset Store (opens in new tab)

Package details

Latest version
1.2
Last updated
First released
Unity version
2021.3.18 or later
Package size
667 KB
Files
34
Favorites
118
Views in the past week
24

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

AStar 2D Grid Pathfinding

by CopiumProductions (opens in new tab)

4.4 / 5 · 10 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 7
4 stars 1
3 stars 1
2 stars 1
1 star 0
  • Price drop

This is a pathfinding tool for 2D grids using the A* algorithm. With this tool, you can save time and effort in developing your own pathfinding system and focus on other aspects of your project.

Discount -100% Previous price $4.99 Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for AStar 2D Grid Pathfinding, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 6

AStar 2D Grid Pathfinding screenshot 1

AStar 2D Grid Pathfinding screenshot 1

About this asset

This package provides a pathfinding solution for 2D grids using the A* algorithm. The package includes a set of scripts that can be easily integrated into a Unity project. The package is optimized for performance, making it efficient even for larger grids. It also includes documentation, demo scenes, and sample code, making it easier for you to learn and use in your projects. With this package, users can implement pathfinding in their 2D grid-based projects quickly and efficiently.

From the publisher's Asset Store listing.

Technical details

  1. Asynchronous pathfinding: The package provides an async method GeneratePath() that calculates the path asynchronously using the A* algorithm, which can be useful in avoiding blocking the main thread in Unity.
  2. Synchronous pathfinding: The package also provides a synchronous method GeneratePathSync() that calculates the path synchronously, which is suitable for cases where the blocking of the main thread is not an issue.
  3. Supports both boolean and float cost maps: The package supports two types of 2D maps: boolean maps that represent traversable/non-traversable tiles and float maps that represent the cost of traversing tiles.
  4. Supports both Euclidean and Manhattan distance heuristics: The package supports two types of heuristics to estimate the distance between the current node and the goal node: Euclidean distance and Manhattan distance.
  5. Returns a list of coordinates: The pathfinding methods return a list of (x,y) coordinates representing the path from the start to the goal.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
2021.3.18f1 Not listed Compatible Not listed

As listed on the Asset Store.