A downloadable plugin for Windows

Buy Now$5.00 USD or more

Unreal Engine plug-in for square and hex grids and simple A*(Star) pathfinding. An instance of a grid is managed by an Actor that holds an array of the cells (points/nodes) on the grid. There are helper functions in both C++ and Blueprints for you to manipulate the grid, it's cells and your gameplay actors. Made and tested in Unreal Engine 4.27,  5.1+.

Notice:
This plug-in is available for free on github but you can buy it here to support me making and maintaining this and other resources.

What you get by buying this here instead of grabbing the it from github:

  • You support me making more of these
  • You get the compiled version of the plug-in and don’t have to build them yourself 
  • You get any extra projects or examples not included on github (If there is any. There are no extras yet)
  • I can better maintain and add more features

Current Features

☑️ Async grid generation
☑️ Async A* pathfinding
☑️ Non iterative cell validation
☑️ World Location <-> Grid coordinates conversion
☑️ GameplayTag based filtering for cell retrieval
☑️ Grid Movement Component
☑️ Cell and Cell Vertex location data
🟦 Hexagon version
🟦 Common helper cell selection operations (think trace/overlap but for cells)
🟦 WFC (Wave Function Collapse) base class
🟦 Map Importing and Exporting

Setup

  1. Install plug-in to your project's plug-in folder and enable it by going to Edit > Plugins. e.g: MyProject\Plugins\Dn2GameGrids
  2. Add a BoxGridActor to your level or create a blueprint with BoxGridActor as its parent class and place in your level.
  3. In the details panel of your placed BoxGridActor or class defaults panel of your blueprint, under the Grid category, check bAutoGenerate, and set the extents or your grid.
  4. Alternately, you can skip step 3 and use the blueprint node Update Grid Async to build your base grid at runtime. Update Grid Async overwrites the current grid if there is one.
  5. Additionally Update Grid Async, on completion fires off Blueprint and C++ events with the resulting grid array, grid extents and cell size.


Published 14 hours ago
StatusIn development
CategoryAssets
AuthorDn2
Tagsastar, grid, hex, hexagon, plug-in, plugin, ue4, ue5, unreal, Unreal Engine

Purchase

Buy Now$5.00 USD or more

In order to download this plugin you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:

Dn2GameGrids_pkgs.7z 80 MB

Development log