Questions tagged [virtual-reality]

The tag has no usage guidance.

0
votes
0answers
8 views

SteamVR 2.2: Trigger not getting detected from Vive Tracker in Unity3D

I have connected Vive Tracker to a Gun via Pogo pins. I have set Vive tracker as "vive tracker held in hand". How do I get to know when the trigger is pressed. I have tried everything. I created a ...
0
votes
1answer
20 views

Get rotation of camera in Google VR

I'm trying to move child of camera object smooth. To implement that, I need to know the movement of x and y axis, like Input.GetAxis in general PC platforms. I saw the documentation and examples of ...
0
votes
1answer
17 views

Rendering Problems(Artifacts, Flickering) with the Mirage Solo VR Headset

Im getting some strange flickering artifacts when testing on device (Mirage solo), this problem occurs on Unity 2018.3.2 and Unity 2019.1.2. Its not happening on other devices such as the OculusGo, ...
0
votes
0answers
13 views

Recenter User Orientation on X and Y axis on with Oculus GO and Unity

I am working on an Oculus GO App for patients in a doctors chair. They'll be using Oculus GO Headsets while sitting, lying, or something in between. So what I am trying to do is to recenter the HMD ...
2
votes
1answer
64 views

Interactive ways to answer a yes or no question in a VR game?

Currently, I am creating a VR game with a simple AI that at certain points ask for yes or no answers. Considering the player is free to walk around, I need a sort of spawn in and out kind of solution. ...
1
vote
0answers
11 views

Unity 3D Vive Focus conversion difficulties

I Keep getting this error message below when I try to build and run the game. I have downloaded sdk package: sdk-tools-windows-4333796.zip Android studio. I am new to this kinda technology any ...
0
votes
0answers
35 views

How to control text font-size and plane width on a plane object with A-frame

I'm trying to create a VR game using A-frame. The problem is that the font-size of the mouseMenu: ...
2
votes
1answer
106 views

How do you create a VR game for a personal VR headset you're making?

If you were to create a whole new VR headset and want to put a game on it, how would you? I know that you you could use Unity and UE4 to create games but those are for stuff like the Rift and Vive. I ...
5
votes
1answer
178 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
159 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
38 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
46 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
85 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
52 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
108 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
588 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
127 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
91 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
71 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
236 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
92 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
148 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
141 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
45 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
52 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
2answers
68 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
60 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
37 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
31 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 ...
1
vote
0answers
306 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
176 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
24 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 ...
1
vote
0answers
41 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
53 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
1answer
123 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
537 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
97 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
139 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
910 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
315 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 ...
4
votes
2answers
233 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
167 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
194 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
84 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
175 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
97 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
938 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
399 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
234 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 ...