You need to use Occlusion by using a post proccess material for this there is a tuttorial: UE4 Tutorial 101 — Occlusion Outlines - YouTube
You need to use Occlusion by using a post proccess material for this there is a tuttorial: UE4 Tutorial 101 — Occlusion Outlines - YouTube