A bundle full of useful scripts for working with hexagons in every way. From basic positioning to infinite map generation.Only URP support in the demo materials. No conflict with the package itself.Save the headache and make hexagon based games FASTER with this bundle. It contains many useful hexagon operations and calculations that are tedious to implement.Includes a GENERIC grid and map implementation that allows for great data structure.The main features are:An extensive hexagon definition that has:Vector operations (addition, subtraction)Scalar operations (multiplication, division) with rounding/flooring optionsDistance calculation between two hexagonsLinear interpolation between two hexagonsCustom hexagon editor that allow for easier development2D geometry calculations like:Center, corner and side positions2D point to hexagonAngle and directionHexagon rotation3D geometryAll 2D geometry calculations projected on a 3D plane3D point to hexagonMesh generationHexagon relationsNeighborsDiagonalsRingSprialMovement rangeLine calculation between two hexagonsGenertic HexagonGrid data structure for storing values on a hexagonal gridGenertic HexagonMap data structure for storing values on an infinite map organized into generated chunksBinary serialization for the hexagonVarious debug scene functionsIncluded demos:Single hexagon demo - shows the custom editor + hexagon geometrySingle mesh demo - shows how a mesh with a texture can be created from a hexagonHexagon grid demo - shows an interactive generic gridHexagon map demo - shows an interactive generic mapHexagon grid mesh demo - shows how a grid can be used to generate a custom world based on the grid valuesHexagon map mesh demo - shows how a map can be used to generate an infinite procedural custom world with a player moving on itHexagon relations demo - shows how various hexagon relations like neighbors, diagonals, spiral and movement rangeAll features are ready to be used!CORE FEATURESImmutable Hexagon DefinitionQ + R + S = 0Addition (Hexagon + Hexagon)Subtraction (Hexagon - Hexagon)Multiplicaiton (Hexagon * scalar)Division (Hexagon / scalar)Distance (Hexagon and Hexagon)Linear interpolation (Hexagon and Hexagon)EditableHexagon for the EditorVector like UIAuto-corrected Q, R, S valuesImplicit convertions to a Hexagon2D geometryCenter positionCorner positionSide position2D position to a hexagonHexagon directionClockwise rotation3D geometryCenter position on a 3D planeCorner position on a 3D planeSide position on a 3D plane3D position to a hexagonHexagon directionSingle face mesh generationPrism sides mesh generationNavigationHexagon Line between two hexagonsNeighborsDiagonalsRingSpiralMovement rangeGridIndexerGeneric valueSet and GetTile iterationMapChunk indexerGeneric chunkGeneric valueInfinite generationChunk position to world positionChunk iterationTile iterationDebugDraw hexagon to the sceneI have used GPT models to generate documentation.All generated content has been reviewed/corrected by a human.

