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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [virtual-reality]

The tag has no usage guidance.

2
votes
1answer
32 views

UI/Menu that works with and without VR (Unity, WMR)

I'm working on an app that I want to be useable without and with VR (with a Windows Mixed Reality HMD like the Samsung Odyssey). For non-VR I'm simply using a canvas in "Screen Space - Camera" and a ...
0
votes
0answers
27 views

Post-Processing effects not visible with LWRP in Unity3D

I'm are running into an issue when setting up Post-Processing effects for the new Lightweight render pipeline. Post-processing effects are visible in scene and Game view, but not in Play mode. The ...
0
votes
2answers
86 views

What is the difference between AR, VR and MR?

Please explain clearly and in short about the differences and boundaries between AR, VR & MR.
0
votes
1answer
18 views

How do I override a SteamVR Controller's transforms in Unity?

I'm trying to provide an illusion to the user by rotating the controller about an arbitrary axis in the LateUpdate() method. But this doesn't seem to be having any effect as the controller probably is ...
0
votes
1answer
27 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
105 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 ...
-1
votes
0answers
185 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
87 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
81 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
81 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
26 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
32 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
35 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
12 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
30 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
22 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
24 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
150 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
214 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
100 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
29 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
33 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
273 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
70 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
375 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
93 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
129 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
487 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
65 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
242 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
154 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
149 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
181 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
70 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
126 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
92 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
744 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
299 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
231 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
173 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
138 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
148 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
107 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
368 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
218 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
1k 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
575 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 ...