Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [virtual-reality]

The tag has no usage guidance.

5
votes
1answer
88 views

How can I let players “scrape away” one texture to reveal another?

In this game I'm making, I want my players to be able to remove rust from an object based on collisions from another object such as a wire brush. Since it's a VR game, performance is key. I've ...
0
votes
2answers
118 views

Google street view racing game?

How would one create a map for gaming using Google street view? Are there any programs for doing this? The cars, people and objects could be edited out and replaced with digital copies if the same ...
0
votes
0answers
23 views

Unity - OpenVR not detected on Compiled Build: Marks XRSettings.enabled as false

I am having a problem in my project once I compile the build, it does not seem to detect the VR device connected. With a test script, I debugged whether the XRSettings's enabled property was set to ...
1
vote
0answers
43 views

Whats the least expensive way to play video in unity?

Alright, Ive asked this various ways but my situation is I have several (over 100) objects that have screens that need to play animated videos on them. There does not need to be sound, but this is for ...
0
votes
1answer
83 views

Mapping a Touchinput-device in a 3D World for VR

I have a Touch-Input device which is linked to my Unity Program and a VR Device. The Touch-Input device which is bolted somewhere BUT the position can be changed. I can get the "2D Coordinates" X / ...
0
votes
0answers
27 views

How to get frustum coordinates of a scene capture / camera at a given focal distance?

Is there a way to get the bounds / frustum coordinates of a UE4 scenecap2d at a given focal distance? I'm not seeing a way of getting either 6 vectors for the frustum volume coordinates or 4 vectors ...
2
votes
1answer
65 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
163 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
116 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
34 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
35 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
149 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 ...
2
votes
1answer
90 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
118 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
97 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
33 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
39 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
42 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
13 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
42 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
25 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
25 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
179 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
249 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
136 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
21 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
30 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
36 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
326 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
100 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
436 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
93 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 ...
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 ...
1
vote
2answers
667 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 ...
1
vote
0answers
277 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
2answers
208 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
158 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
184 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
78 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
140 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
93 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
824 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
337 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
191 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
144 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
153 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
109 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
405 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,...