Mirror/symmetry terrain brush strokes

I don’t know much scripting, so I was hoping you guys could help me out.

I’m surprised Unity doesn’t have this feature by default or that the script need isn’t available everywhere.

Anyway, what I would like to have is a script (or whatever else) that mirrors my brush strokes, so instead of terrain being done in just on one side, it gets done in two. That way, for example, I’d just need to work on one half of a map, instead of attempting to create the other half exactly as the original.

Ideally, where the mirror would be placed is to be modified: press “alt” on when you want the mirror to appear, then just do the work as one normally would.

Is this even possible? Too much work to be giving it away for free? Anything helps, guys!

Thanks in advance.

I don’t think that it’s easy to hack the terrain system to make a custom brush like that, but it should be possible to read and set the heights so as to mirror it after you have sculpted. Check out Terrain.terrainData.

It shouldn’t be a custom brush, but just another option to tick. The fact that it needs to be hacked tells me everything I need to know, though. Thanks.

And I could create half the map, export the height map, duplicate it in Photoshop and export back, but that’s a lot of work just to simulate what should be done by a very basic tool.