Terrain change height without a slope

Is there a way to change the height of a section of a terrain from 0 to 2 without a gradual increase. I want it to go 0 to 2 immediately. Not with a slop to get to 2. Basically, I want to create a 90 degree wall in the terrain.

No, that’s not possible with a height map. A height map is a fix grid of height values. In order to get a 90° slope you would need two different values in the same spot which of course is not possible. The terrain is not a freely modifyable mesh. Unity uses PhysX for 3d physics and Unity’s Terrain component just wraps PhysX’s height field.

I was able to achieve it by:

  1. Using Set Height and using a specific value
  2. Using the smallest brush size which reduced the slope. The slope is there but you can’t really see it like you would with a bigger brush

This is for a grid-based, tactical game so now my players can stand on a level platforms at multiple heights.