This is a paid asset, but now you can download it totally free. However, please keep in mind that this package is only provided for studying or testing the product prior to purchasing it, not for business functions.
Overview :
Terrain Grid System is an advanced grid generator and territory/cell highlighter with powerful features for both terrain and 2D grids.
Highlights:
- Easy to use. Add Terrain Grid System script to your terrain, gameobject or group of objects to instantly attach and configure the grid. Or drag & drop the prefab to use it in stand-alone mode (no terrain mode).
- Configurable, fully interactive and fast grid generation, including Voronoi tessellation, box/squared, rectangular and hexagonal types.
- Compatible with Unity standard terrain, mesh-based terrains or any gameobject with a mesh.
- Change visibility, color or texture of cells from Unity editor with the integrated grid editor.
- Produces a highly optimized grid mesh with a reduced vertex count.
- There are two levels of regions: cells and territories.
- The quickest cell and territory selection and highlighting system.
- Cell and territory coloring and fade-out support
- A* Pathfinding for boxed and hexagonal grids with customizable cell weights and obstacles
- Easily define blocking cells or assign cells to different groups (zones, obstacles, custom navigatable paths, …)
- Get neighbours or cells in range according to crossing cost, max steps or cell group masks
- LOS (Line of Sight) functions
- Cells can be easily selected using a rectangle.
- Different positioning options for best mesh adaptation to the terrain, including scaling and positioning inside terrain boundaries, maximum terrain slope, minimum altitude,…
- Control the visibility of individual cells using an API or alpha texture mask.
- Define territories using a color texture or the embedded grid editor!
- Allows for multiple grids in the scene and multiple grids per terrain.
- More than 20 demo scenes are included with useful sample code!
Technical Features:
- Can work alone (as planar grid), with Unity terrain and mesh based terrains.
- Supports one or more grids per standard Unity terrain object.
- Multi-tile standard terrain currently requires one separate grid per each terrain.
- Multi-tile mesh-based terrains can be covered by a single grid.
- Works with orthographic and perspective cameras.
- Compatible with Built-in, URP and HDRP pipelines.
- Extensive API (C#) for controlling and managing the grid, including selectable cells/territories, finding neighbours and merging cells.
- Full source code included (C#).
Check Some other Terrain:
- Interra Terrain Feature
- Terrain Blending
- Terrain To Mesh
- Terrain Caves and Overhangs
- Nature Renderer
- Puddles, Streams, Lava & Wetness
- EasyRoads3D Pro