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. ...
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 ...
3
votes
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:
...
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 ...
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 ...
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 ...
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:
...
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/...
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 ...
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....
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 ...
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 ...
1
vote
Accepted
SteamVR_TrackedObjects disabled on dashboard
I first tried commenting those two methods that appear in SteamVR_ControllerManager.cs line 130
...
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.
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:
...
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 ...
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 ...
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.
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/...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
htc-vive × 34unity × 26
virtual-reality × 18
c# × 10
steam-vr × 8
3d × 3
unreal-4 × 3
rendering × 2
input × 2
steam × 2
oculus × 2
shaders × 1
game-design × 1
camera × 1
rotation × 1
matrix × 1
models × 1
quaternion × 1
unityscript × 1
unreal × 1
audio × 1
text × 1
frame-rate × 1
blueprints × 1
controllers × 1