Publisher | SmallBurger |
---|---|
File size | 5.55MB |
Number of files | 24 |
Latest version | 1 |
Latest release date | 2024-07-30 05:49:12 |
First release date | 2024-07-30 05:49:12 |
Supported Unity versions | 2018.4.2 or higher |
If your scene is a 2D environment primarily composed of SpriteRenderers and viewed from a GodView (top-down perspective), and you want to avoid using traditional grid A* (which can result in a grid-like path), then SpriteRendererNAV is an excellent solution.
SpriteRendererNAV is an asset designed to create a NAVMesh for SpriteRenderers. It is characterized by its simplicity and ease of use, providing several related pathfinding examples, including Find and NAVMeshObstacle (dynamic obstacles). Simply place the relevant SpriteRenderers, set the X angle of the Transform's Rotation to 90 degrees, and create a SpriteRendererNAVScene to generate your NAVMesh.
Feature List
- Simple and easy to use:
Provides a Rebuild button to easily rebuild the NAVMesh. - No additional mesh data required:
Just add the relevant PolygonCollider2D, no other mesh data is needed. - NAVMesh edge width setting:
Adjust the AgentRadius to set the edge width of the NAVMesh. - Debug display:
Provides a toggle to display Block lines generated during the creation process, making it easier to debug. - Pathfinding examples:
Includes examples of pathfinding and dynamic obstacles (NAVMeshObstacle) usage.