Calculating Lines on a Hex Grid

hexlinesThis example shows the simple algorithm for calculating all points on a line on a hex grid.

  1. Download and import the package below into a new project.
  2. Import Grids.
  3. Open the scene HexLines.

When you run the example, you can select the start and end nodes by left and right clicking on the grid.

HexLines.unitypackage

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top