7 votes

Check if OpenVR / SteamVR / OculusVR headset is mounted on your head

Yes, OpenVR has events for this: VREvent_TrackedDeviceUserInteractionStarted fires when the devices transitions from Standby -> UserInteraction or Idle -> UserInteraction. ...
user avatar
  • 72.7k
4 votes

How to export unity project to play in HTC Vive?

So here is the answer for your different parts of questions(also for beginner VR developer with unity and HTC-Vive): Instead of exporting your project into HTC Vive project you are required to import ...
user avatar
3 votes

How to Change position + rotation of a parent while keeping X and Z Rotation

...
user avatar
  • 112k
3 votes

How do I differentiate between the two Vive motion controllers?

At the time of writing, the other C++ solution is no longer correct; there is now a dedicated function for this: ...
user avatar
  • 131
2 votes
Accepted

VR Play postion Sync over the network

I have managed to solve this problem using these steps after trying hard three four days. These step are given below so that future user don't get stuck in this problem as there are no other ...
user avatar
2 votes

How to render this stereopanorama for VR in unreal engine4

It's 2 equirectangular images stacked one on top of the other. The top is the left eye, and the bottom is the right eye. What you need to do is place the camera inside a sphere and project the top ...
user avatar
  • 2,592
2 votes

Check if OpenVR / SteamVR / OculusVR headset is mounted on your head

In Unity, using the OpenVR unity plugin, the following works: print(SteamVR_Controller.Input(0).GetPress(EVRButtonId.k_EButton_ProximitySensor)); BTW, in a ...
user avatar
  • 121
2 votes

Check if OpenVR / SteamVR / OculusVR headset is mounted on your head

Chiming in for checking a mounted / proximity sensor event for the Oculus OVR unity plugin. This is in OVRManager: ...
user avatar
2 votes

Check if OpenVR / SteamVR / OculusVR headset is mounted on your head

You can now also use UnityEngine.XR and XRDevice.userPresence without the need for additional API's : https://docs.unity3d.com/...
user avatar
1 vote

In VR Games, i frequently notice that skyboxes look too close. Would this be a method for making them appear more distant, especially for space games?

The skybox doesn't exist in world space so it never needs to have a position in world space. It should be rendered with a shader that takes into account its orientation and the camera's orientation ...
user avatar
  • 169
1 vote

Black screen when try to capture Vive gameplay using VRCapture

apologies for adding to the question yesterday. I have found a solution to make sample videos. It is not as cool as VRCapture, but it works for both video and audio. I downloaded http://camstudio....
user avatar
1 vote

Can not connect HTC Vive headset - Steam VR plugin error Failed to load IVRRenderModels

I did a few things: First was to try this answer. Editing the settings file worked OK. It removed the error message and kicked Steam to stay open, but my cameraRig was still not connecting to the ...
user avatar
  • 21
1 vote
Accepted

Problem if 2 HTC Vive into field of view of emitters?

The HTC Vive synchronises with the emitters via the emitters giving a flash. The emitters are kinda dumb (in an amazingly smart way), they give a flash to synchronise, then they scan a vertical line ...
user avatar
  • 3,203
1 vote
Accepted

SteamVR_TrackedObjects disabled on dashboard

I first tried commenting those two methods that appear in SteamVR_ControllerManager.cs line 130 ...
user avatar
1 vote

Check if OpenVR / SteamVR / OculusVR headset is mounted on your head

For OVR ovr_GetSessionStatus() tells you this, OVRSessionStatus has a field HmdMounted.
user avatar
1 vote
Accepted

Check if OpenVR / SteamVR / OculusVR headset is mounted on your head

The SteamVR input has recently changed completely, it now uses Actions and here is a step by step tutorial from valve on how to set it up. Here's one of the (best) ways to poll it in code: ...
user avatar
1 vote

Check if OpenVR / SteamVR / OculusVR headset is mounted on your head

If anyone wants to force the Oculus VR application to not pause the game while the headset is turned off, you need to do some dll stuff. [source] Here's how, and I have also included code for the ...
user avatar
1 vote

Check if OpenVR / SteamVR / OculusVR headset is mounted on your head

In Android, there is the Proximity Sensor. This is used to disable the screen when you're calling someone. I'm not sure if you have access to the proximity sensor in Unity, but you can call the native ...
user avatar
  • 351
1 vote

What do you do with "Player Start" and "Pawn" objects when setting up the default VR game in Unreal?

You have to change the project settings to tell the level to pick your pawn as PlayableActor. This can be changes from eithert edit-> project settings -> maps** or from the world settings.
user avatar
1 vote

How do I get the InputManager to recognize a certain axis/Vector2D with a Vive motion controller?

I've been doing this with Oculus Touch controllers and it's been working fine. I setup the Input Manager using the scripting documentation. For Vive that's at https://docs.unity3d.com/Manual/...
user avatar
1 vote
Accepted

What is the proper way to get input from the motion controllers touch pads?

Stumbled upon this looking for something else. SteamVR_Controller.Device has a method GetAxis() (as you have already tried ...
user avatar
  • 151

Only top scored, non community-wiki answers of a minimum length are eligible