Seeing through walls
A neat feature of many titles is being able to see enemies or important objects through walls, similar to the detective mode in Batman: Arkham Knight, the thermal vision in Splinter Cell, or the outlines in Evolve and other games. Let's implement similar functionality now.
Getting ready
Before we start working within the Unreal Editor we will need to have a project to work with:
First, open up the Unreal Editor by clicking on the Launch button from the Unreal Engine Launcher.
Start a new project from the Project Browser tab by selecting the New Project tab. Select First person and make sure that With Starter Content is selected. Give the project a Name (
Cookbook_Chapter7
). Once you are done, click on Create Project.You should see a level similar to this:
How to do it…
In order to see other objects, let's first add an object that we'd like to see into the level:
Open up the
Example_Map
file and from the Content Browser tab, go into theCharacter
folder and drag aHeroTPP
skeletal...