This page assumes you have prior knowledge of the following topics. Please read them before proceeding.
Set up the Oculus Rift Guardian System
The Oculus Guardian system is used to display the boundaries of the VR interaction area. As a tracked device approaches the boundaries, the Oculus Runtime automatically provides visual cues notifying the user of this. In the following How To we will take a look at changing the color, the Oculus Guardian system uses to display the VR interaction area.
For the Guardian system to work, you will need to make sure you have set it up using the Oculus App. For more information on how to do this, please see the official Oculus Guardian System set up pages.
It is not possible nor advisable to disable the Guardian system from inside UE4. You can, however, adjust how UE4 will react to the user getting close to the boundaries.
Now, when you run the Level, putting on the Oculus Rift when the boundary is displayed, it will be the color you set in the Oculus Rift Boundary Color variable.
Below you will find a link to where you can download the UE4 project that was used to create this example.
Oculus Rift Guardian System Example Project