Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: westingtyler on August 31, 2018, 06:55:21 AM

Title: Check if HMD (VR Headset) is Active/Turned On?
Post by: westingtyler on August 31, 2018, 06:55:21 AM
If the player is wearing an HMD like Oculus Rift or Vive when they start the game, I want the game to check if that's the case and therefore enable the normal camera game object or the VR camera rig game object. I also what to be able to swap between these mid-game, if a player is playing in VR or not VR and wants to swap over. At that point the controls will be swapped, too, between keyboard, xpad, or vr hand controllers. Can this be done with an action?
Title: Re: Check if HMD (VR Headset) is Active/Turned On?
Post by: tcmeric on August 31, 2018, 08:46:26 AM
Hi, different VR devices use different API. Therefore there is not one universal platform for it all. Are you using steam VR in your project? Where are you getting your current VR actions from?
Title: Re: Check if HMD (VR Headset) is Active/Turned On?
Post by: westingtyler on September 10, 2018, 06:30:39 PM
I am using the Oculus Rift, and as far as I know my only VR actions are the Touch Controls actions in this package, which is a great package.

https://assetstore.unity.com/packages/templates/systems/oculus-touch-playmaker-toolkit-90963

If you are implying there are "VR actions" somewhere online, that'd be really cool to see!

Title: Re: Check if HMD (VR Headset) is Active/Turned On?
Post by: tcmeric on September 10, 2018, 11:37:58 PM
Not sure if you are familiar with VRTK? If not, it has lots of the functions that you may be looking for. Grab, throw, teleport, etc. I wrote around a 100+ playmaker actions for it, as well as have videos.

https://www.youtube.com/channel/UCyRBYRGl9v_byeKxT4GLG_A