SpriteRendererNAV

Ойындар

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:
1.Simple and easy to use:
Provides a Rebuild button to easily rebuild the NAVMesh.
2.No additional mesh data required:
Just add the relevant PolygonCollider2D, no other mesh data is needed.
3.NAVMesh edge width setting:
Adjust the AgentRadius to set the edge width of the NAVMesh.
4.Debug display:
Provides a toggle to display Block lines generated during the creation process, making it easier to debug.
5.Pathfinding examples:
Includes examples of pathfinding and dynamic obstacles (NAVMeshObstacle) usage.

Пікірлер

    Келесі