I want to separate the terrain of my RTS game into areas like forests, fields and roads. These areas are more than for aesthetic purposes since they will affect gameplay like by changing a unit’s speed. I can’t use tags or layers directly on the terrain because multiple areas will be on the same object. I can’t use the polygons on unity’s navmesh because I made my own pathfinding system.
What would be the best way to define the areas on my map? I thought of two options but tell me if you have something better in mind.
-
Painting different textures with each one representing an area type.
-
Creating a new mesh with each polygon being a node with the area’s information.
Let me know what you think, any sort of input is greatly appreciated. Thank you!