I’m currently developing my first ever game in Unreal Engine 4 and, of course, my first RTS game. One of the issues I’m having now is the fact that my unit selection markers are clipping into the terrain, like this:
And ideally I would like to have the markers conform to the irregular terrain as if it was a decal or a projection on the terrain itself (if that makes any sense). I include below my base character setup, showing the way I have included the markers within the blueprint:
You can add it to your existing stuff easily enough.
It’s a component that manages how the decal behaves. The projection is along the X (forward in UE4) axis so you may need to rotate it accordingly so the X is pointing towards the ground.