Oculus Touch Support

We have improved the Oculus Rift integration In WaveEngine 2.3.1 updating from 0.7.0 to 1.10.0 Oculus API.

One of the most important improvements is the Oculus Touch support is that it allows you to have hand controllers in your VR games.

Note. If you want to review the complete list of changes you can read the official release notes

Oculus API 1.10.x release notes

https://developer3.oculus.com/documentation/pcsdk/1.10/concepts/release-changes/

The CameraRig component has been updated. You can find some changes in its children hierarchy so when you create a VRCamera you will find the LeftControllerAnchor and RightControllerAnchor that you can use to chain controller models.

 

To access the Oculus controllers state you must get the OculusVRService as Input services. Then you will have access to Oculus controllers triggers and buttons events.

 var oculusServices = WaveServices.GetService<OculusVRService>();
 var oculusState = oculusServices.OculusTouchControllerState;

 if (oculusState.A == ButtonState.Pressed)
 {
 // Action A
 }
 if (oculusState.B == ButtonState.Pressed)
 {
 // Action B
 }

On the other hand, OculusVRProvider includes a new TrackingOriginAtFloorHeight property that allows you to set the origin over the Floor configured on Oculus calibration settings.

 

 

Finally, in this video you can see the Oculus Touch integration:

Published by

Jorge Canton

He is an engineer in computer science, #WaveEngine team member is a technology enthusiast determined to stay on the cutting edge of development. He is a very dynamic person who loves solving challenges, puzzles and riddles. He usually spends his free time with his family or playing videogames on his console or mobile phone and plays the piano to relax.

Leave a Reply

Your email address will not be published. Required fields are marked *