Object Flush to Ground and Angle of Ground

You may be thinking about PCG.
I think that can.

Foliage is also capable to via options - because when places it has the interaction/line trace needed to do it.