How to make use of the Proximity Sensor in Blueprints?

Ok, I’ve done a preliminary code up of getting access to some of the proximity sensor stuff and also detecting when the user opens oculus home, I added it to the VR Notifications component as 4 new delegates that you can use to detect these things:

They correspond to the guidelines on the Oculus developer docs found here

@NCMcClure If you want to integrate these changes into you own 4.12 branch they can be found on my

I originally tried to get all this working just as a plugin but the Oculus Plugin doesn’t allow you to get access to the oculus service to check for the proximity sensor outside of itself, so that was a no go.

Currently I’ve only implemented it for the Rift but the Vive will be easy,

and also @KRushin what your seeing with the vive’s proximity is actually by design (see here)

Anyway hopefully if epic finds this useful they will accept it as a PR so others don’t have patch it in themselves

Thanks,

Edit: It seems that the vive doesn’t even use the proximity sensor yet, the event that is supposed to be tied to the proximity sensor seems to just be triggered when the headset is moved after being stationary (like sitting on a desk)