Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
1answer
11 views

How to align 2 IMUs' quaternions?

Suppose I have 2 IMUs that output 2 quaternions. I place one IMU on my left hand and another one on my right hand. I put both my hands flat on the table and point it forward to the same direction. ...
0
votes
1answer
46 views

Develop on Oculus Go using Java and OpenGL

I have recently done some game development using Java and OpenGL (with the JOGL library), and I was thinking about trying to learn how to develop on an Oculus GO. However, all guides seem to assume ...
0
votes
0answers
9 views

Making a fully functional SteamVR UI Pointer in Unity?

I tried this tutorial and now can click buttons with a pointer, but that example ends short of anything truly useful as you cannot interact with scroll rects or anything beyond clicking. What I need ...
2
votes
1answer
82 views

Determining Player “Forward” in VR

EDIT: I've removed some vagueness and replaced it with more of a description of the intended use case. I'm looking for some suggestions for ways to infer what the player's "forward" vector is in a ...
1
vote
1answer
55 views

Rain Effect generation in a Unity VR project

I´m developing a VR project in Unity Engine and I need to implement a Rain Effect. I have considered the following: A VR game must run at least 90 frames per second. The Rain must be detailed. The ...
1
vote
0answers
52 views

How to put virtual hands in front of player?

I want to have the VR hands always in front of the player. This works while walking forwards/backwards, once I rotate the camera they stay in the same place. I know that I need to take the camera ...
1
vote
0answers
21 views

VRTK ignores IsTrigger

VRTK allow collision detection by adding the VRTK_HeadsetCollision, VRTK_BodyPhysics, VRTK_HeadsetFade and VRTK_HeadsetCollisionFade scripts into Unity. This works so that in VR when I walk through a ...
0
votes
1answer
20 views

How to Subscribe to Events from Unity's VRInput Script

I am new to Unity and trying to modify the Unity tutorial Interactive 360 Sample. I want to be able to call a function when a user swipes using an Oculus Go Controller. I noticed that the VRInput ...
0
votes
1answer
19 views

Detect when an Oculus headset is stationary/idle using transform.hasChanged

I want to know how can I change in unity the thershold of the method below: transform.haschanged At the moment it is so sensitive and it triggers with 0.00001 change in the camera. We have ...
0
votes
0answers
11 views

Check if app is started from Oculus Client / purchased from Oculus Store

I want to enable a script handling the entitlement for the Oculus Store, if the app is an Oculus Store app. My first idea was to check the VR device name in Unity like so: ...
0
votes
1answer
23 views

Unity3D HTC Vive graphical bug when making builds

Recently I noticed that my builds seem to have a weird graphical bug. This only occurs when I play a build. Running the game in VR in unity play mode doesn't show this bug. I am not sure what is ...
0
votes
0answers
17 views

Rendering artifacts on edges in Cardboard VR OpenGL ES 2

Unity beginner here. I've encountered this weird rendering artifacts in my Cardboard VR app on Android OpenGL ES 2: https://youtu.be/uJm4d3MwbRo It doesn't occur in WebGL build: http://senovsky.wz.cz/...
1
vote
0answers
23 views

HTC Vive Grabbing Object Trigger

I'm doing a HTC Vive VR game with Unity. I have 3 objects, and I want to trigger different events when the player pick up different objects. Since I set the rigidbody to the controller and don't ...
0
votes
0answers
122 views

Add mesh colliders to (any) SteamVR controllers (in unity)

SteamVR / OpenVR has a bunch of scripts that spawn the appropriate model (vive, oculus etc) mesh automatically whenever a controller comes online or wakes up. Has anyone figured out where/how one ...
1
vote
0answers
166 views

Unity Mirror Shader double image in HTC Vive / Steam VR

I'm implementing a mirror in Unity for SteamVR / HTC Vive. I'm using the mirror reflection shader for Unity. It looks fine, overall, but the left eye and right eye don't align unfortunately, so it's ...
2
votes
1answer
66 views

Unity: From “Normal mode” to “VR mode” back to “Normal mode”

I want to change my unity application per runtime to a "Vr-Mode" and then switch it back. Since the VR-Mode changed the camera behaviour and messes with the system i want to use i can not start my ...
0
votes
1answer
17 views

Pull OVRCameraRig over RTS map via touch controller grabbing gesture

Currently developing a little prototype RTS with the Oculus VR devkit. I want to implement camera movement via "grabbing" onto the world space with a touch controller and move the OVRCameraRig object ...
0
votes
0answers
26 views

VR viewport shrunk toward bottom of screen on iPhoneX

I have a VR Cardboard app made with Unity 5.5.1 and Google VR SDK 1.3. The build works perfectly on Android, iPad Pro and iPhone 6 but the viewport breaks on iPhone X: iPad: Is there some iPhone X ...
1
vote
0answers
29 views

IOS Keyboard as Gamepad in unity

So I’ve been messing around in unity lately, and I got a vr headset to mess around as as well(google cardboard). I also want to make my own controller to use with this. To achieve this, I want to use ...
0
votes
0answers
51 views

How can I avoid player see through the avatar?

I'm creating a SteamVR/HTC Vive game with Unity3D. I have a rigged avatar performing animations. Currently, if the player goes forward, it will see the moving eye balls and others inside the head. ...
0
votes
0answers
188 views

Unity VR - VRTK and CurvedUI together

I am working on a VR project based on VRTK. I also wanted to use CurvedUI asset to curve my canvas. I am struggling to make this work with the VRTK simulator. As soon as I add the CurvedUISettings ...
0
votes
1answer
50 views

How can I produce 3D environments for VR from HDRI images?

I have a question regarding to the HDRI maps as many some of you have a bit of experience in this field especially for Oculus Rift platform! I've been trying to achieve a 3D landscape from this HDRI ...
0
votes
1answer
305 views

Input.GetAxis() always returns 0

Here is a screenshot of the Input Manager for my project: The 9th and 10th axis refer to Axis1D.PrimaryIndexTrigger (Squeeze) and ...
0
votes
1answer
91 views

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

Sooo this question is a problem , a evolution by another solution of this problem here: How can I change the parents rotation so the childs rotation is looking at a specific direction Basically: We ...
0
votes
0answers
87 views

Move game object only on a line segment between two points

I am working on a VR project, and I am having a hard time figuring out how to move a gameobject on a line segment between two points. I have tried configured joint, it kinda worked. The problem is ...
2
votes
1answer
119 views

How do you support different VR platforms?

I created an Android app for Gear VR in Java (using the GearVR framework) that I now want to port to Unity, so it can also be used for Microsoft's semi-new Mixed Reality headsets (for Windows; not ...
0
votes
2answers
342 views

How can I make the X button in the Cardboard XDK exit VR mode?

When I build a game using Unity 2017.2.0f3 and the Cardboard SDK (using XR settings) and run it on my device, I see two controls overlaid on the screen, a cross and a gear: Currently, pressing the ...
0
votes
0answers
58 views

Rendering a hand in fixed pose using Unity3D Leap Motion

In essence, I am trying to put the hand into a fixed pose (a fist for example) but have it still move and rotate with the live hand data. I have created a custom class which I use to store the hand ...
1
vote
0answers
195 views

Unity3D: How to play 360 video without VR mode?

i followed the official Unity tutorial to make an inverted sphere and play a 360 video inside it and i managed to do it but the problem is i can't build the project to my phone because it says i have ...
5
votes
1answer
146 views

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?

I was playing Star Trek Bridge Crew, and noticed that the starfield looks oddly close. The same goes for the sky in other games. I realized that this is because when rendering the skybox in a game, VR ...
0
votes
0answers
75 views

How to properly install PiMax 4k VR device and make it work in Unity game engine?

I get this Vr device [PiMax 4k VR] for game development. I wish to know if is possible to use it in the game engine "Unity". In the Unity learn section it do not talk about this device. https://...
0
votes
0answers
29 views

How to get GVR working in Unity with Xbox controller

So sometime back I was able to use an earlier version of GVR with Unity totally fine. 1.4 I think it was. With the most recent version, it says to use GVR Editor Emulator. I think before it was GVR ...
0
votes
0answers
338 views
0
votes
0answers
140 views

Unity: How to Raycast in a 360 VR video?

I have set up a basic inverted sphere in unity and am running a 360 video inside it and it is working fine in VR. But i want to raycast inside that video to show information about some objects which ...
2
votes
3answers
176 views

Character Model crashes game (Unity VR)

I am creating a VR game. Currently, I'm testing it on an Android device. Now I when I run the application it runs smoothly and without any issue. However when I ...
1
vote
1answer
60 views

High-resolution VR with tethered smartphone display

I have an Android SmartPhone with a fairly high resolution + USB-C port, a USB-C-to-USB-A cable, and a Google Cardboard headset. Is it possible to develop a VR app running on a PC game engine (such ...
0
votes
1answer
92 views

What's the proper codec and resolution to get 360° content projected on to spheres?

I'm using the Autopano Giga 4.4 and Autopano Video Pro 2.6 to stitch and create spherical content, but I've recently moved into wanting to create 360° tours via Unity. I know this is partly a ...
0
votes
2answers
85 views

In Theory, how much gain should I expect from instancing in OpenGL for small scene with large meshs?

I am trying to implement one-pass stereo rendering in OpenGL for a VR application that I am building. I am implementing this through instancing, so I make one render call ...
3
votes
1answer
662 views

Unity- how to render-to-texture with VR distortion

I've also asked the question here http://answers.unity3d.com/questions/1392099/how-to-set-a-render-to-texture-camera-to-be-a-vr-c.html (but it's currently "under moderation") So, I want to do some ...
1
vote
1answer
265 views

How do I get the collision position of the gaze input

I'm trying to move a Third-Person character by looking at random objects in the scene using the googleVR Rectile, what I had in mind is lerping the character to the collision point position. Any Help ...
6
votes
2answers
229 views

Good ways to indicate enemy toughness [closed]

Can you add any good ways to indicate enemy strength to this list: - physical size - equipment quality - narration or preview scene - demeanour Background I'm designing a spell-casting/stealth ...
2
votes
2answers
156 views

What is the universal “Distance Point” for human vision?

I'm not sure if this is the technical term, but I'm asking: At what rate do things scale bigger and smaller as they move toward and away from the human eye? I know the equation for the linear ...
0
votes
1answer
131 views

Running an Existing Game Inside of Unreal Engine

Goal Be able to add an overlay (a webcam feed with greenscreen processing) to an existing VR capable flight simulator so that the user can see their physical controls and the sim utilizing green ...
0
votes
0answers
147 views

Daydream controller reticle gets attached to camera

I'm working on a VR app and am using the Daydream headset and controller. I have placed GvrControllerMain in my scene and GvrControllerPointer in a game object with my camera, but the issue I'm having ...
2
votes
1answer
105 views

Do I need VR camera for VR Project?

I am to make a project involving virtual reality for college, I have a budget of $800, the original idea is to get a VR camera (this camera https://www.stereolabs.com or any other similar camera) and ...
2
votes
1answer
311 views

Unity VR player not moving when running in device

I am following Udemy tutorials for learning VR using Unity and making a game named Ninja Slash. Everything seems to be working fine in the Unity Editor Play mode but when I run my app in a real device,...
1
vote
0answers
199 views

Access Single-Pass RenderTexture

I'm trying to achieve a mirror effect where a second camera renders to a render texture, which is then passed into a shader using SetGlobalTexture. Everything works fine outside of VR, but in Steam ...
3
votes
1answer
981 views

How to use camera in Google VR SDK 1.50 for Unity?

I have looked at many tutorials on making an Android app for Google Cardboard in Unity, but all of them were for older versions of the GVR SDK. How do I simply add a stereo camera in version 1.50 (...
1
vote
1answer
524 views

Object movement to a circular shape, with the grab of a VR controller?

I have a HTC Vive VR set, which has a controller. I have a sphere object, which I want to rotate in a circular motion around my VR Player object, based on the controller grab and its movement. The ...
4
votes
6answers
3k views

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

The Oculus and the Vive have this light proximity sensor that detects whether you have your VR headset placed on your head currently or not. Is there any way to tap into that for our own game checks? ...