We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [virtual-reality]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

How can I push a button with VR hands?

New programmer here. I am currently trying to create a sample game in Unity (2019.2.11f1) where I push a button using the VR hands of my Oculus Rift (the hands follow my controllers). I can't believe ...
0
votes
0answers
25 views

Unity 3D Image Distortion

I'm trying to make a 3D tour for cardboard. I'm putting my 3d image inside a sphere with a shader but I've noticed this problem. And the middle of the image is looking kinda wavey and distorted.
0
votes
0answers
27 views

What is a good algorithm for generating a linear regression of positions in 3D space? (for getting the direction of a thrown object in VR)

I'm trying to get throwing to feel right in my VR game. I don't plan on actually using physics to do this; my idea is to accurately determine the lateral direction of the throw, then move the object ...
0
votes
0answers
6 views

Set Unity to Fixed oculus sdk for testing

guys, I have been doing some VR development and I have noticed there are often times I want to test if something that relies on the Avatar is in or working but I only have a standing rift right now ...
0
votes
0answers
20 views

Prevent Object Detachment from Hand when Controller Trigger is Released in Unity SteamVR

I'm using SteamVR's Player Prefab for Unity. For picking up objects I'm using the Throwable script which uses the controller trigger to pick it up and its release to throw. Is there a way to prevent ...
0
votes
0answers
30 views

Having trouble with getting an image to fit on a face of a cube

I have a problem with a Unity project that I'm working on. I'm creating an 3D art gallery which will be developed into a VR application in the future. In a 3D scene, I have created a ...
-1
votes
0answers
30 views

How can I convert Input.gyro.attitude into a float? [duplicate]

I am working on a VR project with a 360 video in it. I am trying to set the start rotation of the video to the same rotation as my phones. How can I convert ...
0
votes
1answer
73 views

Set the start orientation of the gyroscope to initial phone orientation

I am making a mobile VR project in Unity, and I have a 360-degree video that starts playing where I can look around using a VR headset. I am trying to set the start rotation of the video to the same ...
1
vote
0answers
34 views

Text is unreadable at fov's edges with HTC Vive

Not sure if this is the good place to ask or if should asked it in photography, sorry if it's not. I was trying stuff in Unity for a vr game based on text but as I tested it I saw that the center of ...
0
votes
1answer
40 views

Multiplayer VR art gallery using different headsets

I'm creating a VR art gallery using Unity3D (like a VR Museum Views with more freedom) and would like to have an environment where 1 or more users can gather together, communicate and move around (...
1
vote
1answer
75 views

How would I run a VR game that depends on external hardware?

I have a VR game idea which is being built on Unity with external hardware (Arduino, Gyroscopes, etc). I have thought of ways to connect the Arduino to Unity but what I am now struggling with is ...
0
votes
0answers
37 views

Fade into scene in Unity / SteamVR

I am using this code below for a gradual fade into a scene/next level in Steam VR (HTC Vive) The whole idea is to cover up the scene loading icon which is viewable for 3-4 seconds, and the default ...
0
votes
0answers
11 views

HTC Vive in-game camera moves automatically, but in-editor it's fine

We found an issue today in our HTC Vive game we don't know how to fix. When I start the exe using the HTC Vive, the camera starts moving automatically, endlessly. But in the Unity editor it is fine, ...
4
votes
1answer
203 views

Why is 90 FPS recommended for Virtual Reality games?

Origin of the question I have recently finished an internship at a (small) game development company which is working on a Virtual Reality game that is also used in medical rehabilitation. From what I ...
0
votes
0answers
35 views

Facilitator UI on desktop screen for VR

Hey and thanks in advance for any help/pointers The solution is probably straight forward but i am still a little inexperienced (while creating quite a few different VR unity projects mostly study ...
0
votes
0answers
47 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
33 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
35 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
88 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
81 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
15 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
132 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
112 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
197 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
390 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
71 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
49 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 ...
1
vote
1answer
91 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
117 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
223 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
937 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 ...
2
votes
3answers
173 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
230 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
111 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
306 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
95 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
202 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
211 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
56 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
65 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
88 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
1answer
90 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
40 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
35 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
340 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
223 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
26 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
46 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
56 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
160 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 ...