I'm trying to project many buildings or many shapes into a very uneven Terrain.
I've tried many ways, the closest where to use: only ShrinkWrap constrain, and the best is to use a combination of Lattice modifier and ShrinkWrap modifier.
Most of the times the problem is that the buildings go thru the terrain, some more than others. I would like them to all just sink a little bit.
The other issue is that the roof gets deformed to follow the angle of the terrain mesh.
In my example, the red building is higher. and if you look underneeth half of the building is under ground.
And all the roofs are flat, and as you can see some get an inclination ( deformation ).
Here is the file and a photo:
[![enter image description here][1]][1]
[EDIT] The problem I get with the suggestions (which I read many times), is that the lattice ( yes, I moved it up and down, under the buildings, scaled it, ... ) but it doesn't adapt to the mountain. For you to understand see next new image, showing the bottom of the mountain: the buildings are underneath the mountain, and they don't even show on top of the mountain.