Questions tagged [virtual-reality]

Virtual reality is a technology that simulates the physical presence of users in an artificially-generated environment.

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

Match swappable hand mesh pose to VR hands using AutoHands plugin

I am making a VR project in Unity and am working on a modular character customization system. I am relatively new to Unity, so direction on how to approach this aspect of the project would be ...
user avatar
  • 3
0 votes
0 answers
19 views

Unity VR Elbow Position Relative to Wrist Orientation

I am working in Unity and am looking to have control of elbow position relative to wrist orientation. I already have a working IK, but the player has no control over the position of the elbow and it ...
user avatar
  • 3
0 votes
1 answer
19 views

Unity VR IK Rig Accurate & Dynamic Proportions For Players

Hope all is well with you! I am messing around with a game idea in Unity. I am working on getting a good IK rig going on for the player since it will be an important part of the gameplay. I currently ...
user avatar
  • 3
0 votes
0 answers
31 views

Viewpoint at floor level when playing build, but correctly tracked when testing in-editor

I'm using the Unreal Engine VR Template to make a really easy room in VR. Everything seems to be working fine inside Unreal when I play it there on my Quest 2. But when I build the game and play it on ...
user avatar
0 votes
0 answers
50 views

Make game switch between VR mode and a 2D scene on a PC monitor

I'm currently trying to switch between a VR and a 2D PC screen scene in Unity. I am using SteamVR in my project and the XR Plugin Management for trying to do the switching. I tried to use the code ...
user avatar
  • 1
2 votes
1 answer
39 views

Unity- how to stream videos from external source?

I'm working on a Unity level for a VR project that requires displaying multiple 360 videos in a hall. These videos are large (8k and 60 minutes each) so cannot be contained in the app itself. Is it ...
user avatar
0 votes
0 answers
57 views

Unity XR toolkit and Mirror networking, grabbing

I am new to both XR toolkit and Mirror and I have this problem that when I try to grab a box in online scene. It didn't work even thought it worked on the offline scene when I test it. anyone got any ...
user avatar
1 vote
1 answer
34 views

What does "ray-traced through the lenses" mean in the Oculus VR compositor documentation?

In this link: https://developer.oculus.com/documentation/unity/unity-ovroverlay/ Objects and textures rendered as compositor layers also render at the frame rate of the compositor, the refresh rate ...
user avatar
0 votes
0 answers
15 views

How to make golf putter rotate to ground normal's and still rotate with the handle

I am making a vr golf game and I am trying to get the putter to be level with the ground and still rotate with the putter handle. The two pictures below will demonstrate the problem. Then after I ...
user avatar
0 votes
1 answer
123 views

Why does today's "Metaverse" look equally or even worse than the 1990s 3D chat worlds? [closed]

In late 1990s and early 2000, I tried out "Active Worlds" and more. They let me register an account and then walk around in a vast 3D world and chat with people/avatars. It was surreal and ...
user avatar
0 votes
0 answers
17 views

Why is my rect transform rotating from setting position?

I was trying to track a UI canvas directly to a game object in my scene. I thought getting the screen point from the world and then setting it to the position of the rect transform would just move the ...
user avatar
  • 1
1 vote
0 answers
30 views

Blending sword motion with sword swing sound in VR

At first, this may seem like an easy problem to solve. I also thought so. (This was a one tick task in my Trello board). But in VR the players' weapon (Sword) swings are unpredictable. The direction ...
user avatar
0 votes
1 answer
27 views

Finding controller's rotation about arbitrary axis

I'm trying to simulate knobs in a virtual reality environment where the user can grab a knob and twist it with the controller. Essentially what I'm trying to do is translate the global rotation of the ...
user avatar
  • 1
0 votes
1 answer
354 views

Getting XR Grabbable items networked with Unity

I'm trying to get XR Grabbable objects networked in Unity, with the networking framework Mirror. This should be a simple task as Mirror has a component called "NetworkTransform" that simply ...
user avatar
0 votes
0 answers
47 views

Unity Mock HMD not rendering with ARCore installed

I am trying to create a mobile vr game with ARCore in Unity for positional tracking, and I can't get the Mock HMD to render. I tried the Cardboard SDK but it didn't work so I am trying to use Mock HMD....
user avatar
  • 1
0 votes
0 answers
12 views

Making VR head turn add rotation to player controller

I want to make a control system where, if you look far enough left or right, the controller starts to rotate. To do this, I find the vector (Vh) between L & R hand controllers, then find the angle ...
user avatar
0 votes
0 answers
15 views

How to show ghost controllers as a hint using unity XR plugin

As you may have noticed, Steam VR plugin offers a hint option that shows a ghost version(transparent) of controllers along with the hands at the beginning of the game to help users find out about the ...
user avatar
  • 1
0 votes
0 answers
259 views

Unity RenderTexture Black when Saving PNG on Oculus Quest/Android

I've scoured the web for a possible solution to my problem with no avail. I'm currently trying to add a screenshot function on the Oculus Quest where a player can take a picture from a secondary ...
user avatar
  • 1
0 votes
1 answer
224 views

Unity 2020.3.15f2: Choose between VR and Desktop at launch

Lots of games have options for launching in VR or Desktop modes, either through steam launch options ("Play game", or "Play game in VR") or command line flags (...
user avatar
0 votes
0 answers
120 views

Unity XR: Get boundary world position

I'm trying to create something simular to "Everest VR"'s "Stand on the footprint" system. The way it works is the game get's the XR boundary, places a footprints texture in the ...
user avatar
0 votes
0 answers
92 views

Unity XR Ray / Line renderer on the floor

When using Unity's XR system, the teleport ray / line renderer I'm stuck on the floor. Turning the XR rig also turns the line, so the line is stuck on 0,0,0 on the XR Rig I've played with most ...
user avatar
0 votes
0 answers
29 views

Unity cheap fluids visuals for VR using Post Processing

I'm trying to create a turret in VR that will spray water onto a wall. I need a way that will take the collision of the fluid and transfer that to a splatmap to change the material of the wall. I know ...
user avatar
0 votes
1 answer
174 views

Unity - jagged shadows when export as apk?

Alright, I found this question with the same problem but it's out of date Jagged shadows with default settings My problem is a discrepancy between shadow quality settings in editor vs apk built to ...
user avatar
  • 131
0 votes
0 answers
55 views

Unable to check Cardboard XR Plugin in Unity

I tried to create a project for Cardboard VR. I imported the git VR package from the Google Cardboard XR Plugin for Unity repository on GitHub. Then, in Project ...
user avatar
0 votes
0 answers
99 views

VR Controller Tooltip in Unity

I'm looking to implement tooltips on VR controllers (e.g. controller highlights, text overlays) in Unity (e.g., Oculus Quest, XR interaction toolkit). I have seen an old solution based on VRTK. How ...
user avatar
3 votes
1 answer
83 views

Is it possible to record video, depth map and 6D pose of any games?

I'm not a game developer, but a researcher working on improving video quality in various contexts. For my current problem, I need to collect videos which have both RGB data as well as depth data. ...
user avatar
0 votes
2 answers
586 views

OpenXR device not present in Start or Awake methods in Unity C# script

I'm developing a VR game using OpenXR in Unity (specifically developing on a Valve Index). When I try to access the input devices through the ...
user avatar
  • 21
0 votes
0 answers
31 views

Google Cardboard XR Settings

Is there a way to access settings for Google XR Cardboard? I've got a project straight from Google Cardboard for Unity with examples. After building it and running on a phone it shows X and Gear icons ...
user avatar
  • 1
1 vote
1 answer
44 views

Can I get world-space z-near-plane vertices from projection matrix + z-near distance?

I'm trying to port ShaderToy VR shaders to WebXR (the new browser API for AR/VR devices). ShaderToy VR shaders expect two extra parameters: ray origin (view translation) and ray direction (unit vector ...
user avatar
  • 1,935
0 votes
0 answers
132 views

Configure VR support that enables to "look" around and receive user input (Google Cardboard button)

When the user moves the head this means that the phone in the HMD also moves and there are sensors that can detect the direction of the phone so that the image can update correctly. Also to note that ...
user avatar
0 votes
1 answer
70 views

Footstepper with Vr Unity

I have the Footstepper: Complete Footstep Solution from the unity store, and i dont get it working with the Vr, I made the footstep material like official documentation said, Then i put the ...
user avatar
0 votes
1 answer
112 views

How to make my sun appear far away in VR

I am attempting to add VR compatibility to my game, please could you help me figure out how to better control the multiple cameras in my scene regarding the head tracking and movement from VR devices? ...
user avatar
1 vote
1 answer
89 views

What does it mean to develop a VR game from the ground up?

Some virtual reality games are advertised as being created from the ground up for virtual reality. What does this mean exactly? What are some of the differences between developing a 3d pc game and a ...
user avatar
  • 113
0 votes
0 answers
63 views

Same image in both eyes of VR HMD results in wrong 3D effect

I am trying to mod in VR support for a game without VR support via OpenVR as it proved to be the easiest one to implement with the least amount of issues, i don't think my issue is related to OpenVR ...
user avatar
  • 1
1 vote
2 answers
456 views

Unity XR Spectator Camera

I would like to have a VR camera (for the player) but also have another camera (spectator). I am using Unity 2019.4.8f1 on the Universal Render Pipeline I have only been able to find outdated articles:...
user avatar
0 votes
0 answers
30 views

Is it possible to use absolute input device like a pointer or VR headset for peeking(looking) in non VR FPS or 3rd person games?

Assume I have a VR headset, which has absolute orientation as output and this orientation is input to a game. In VR Games, your character looks wherever you look by using your headset's absolute ...
user avatar
-1 votes
1 answer
243 views

How i can detect a single ARuco marker among several markers?

Hi everyone i am working on a rehabilitation application that depends on ARuco markers. The idea is to draw an object on a single marker among the four existing ones, then when the patient's hand ...
user avatar
1 vote
1 answer
34 views

Is it a useful strategy for Mobile VR titles to render faster than their simulation loop?

For example - If a title had a very heavy simulation loop (say 20ms), is it desirable to render at a greater rate, say 90hz? This would always a present head pose correct to the view, without being ...
user avatar
  • 712
0 votes
0 answers
364 views

Can I set the unity camera to have the same position in a real world?

I have a problem about setting the camera in the unity to have the same extrinsic parameters as my real world camera to the origin. So let's me describe my problem step by step. I have a camera in a ...
user avatar
0 votes
0 answers
247 views

Unity IVRRenderModels_006 SteamVR Error

I get this Error in Unity when I imported SteamVR : "Failed to Load IVRRenderModels Interface Version IVRRenderModels_006" I looked after on it but nothing really solved the problem. Why is this ...
user avatar
  • 103
0 votes
1 answer
34 views

Fix Unity Line Renderer for pointer drawing a jaggy line

I think I'm using the standard Oculus setup from the SDK using the OVRCameraRig. I've also got a LaserPointer. But inside VR on my Rift the line looks like this. Any idea what I'm doing wrong? It ...
user avatar
  • 802
0 votes
1 answer
556 views

Unity build does not launch and leaves no logs/errors

I have released my first title Audio Infection ( https://store.steampowered.com/app/911580/Audio_Infection/ ) for a bit over a year ago. Recently 1 user has so far encountered an issue where the game ...
user avatar
3 votes
0 answers
504 views

Switching between VR and Desktop (VR Controllers are not tracked in Unity Build)

I am developing a VR App in Unity3D for HTC Vive Pro (Wireless) everything works well with VR in the usual way. (SteamVR Plugin 2.5.0 (SDK 1.8.19)) Except for some requirement reasons in the same ...
user avatar
1 vote
1 answer
866 views

How do I get the Oculus Rift's position and rotation?

I'm looking for the functions to get the position and rotation data of the rift headset itself in Unity. I have the Oculus integration SDK installed and want to avoid using any pre-fabs.
user avatar
0 votes
1 answer
86 views

VR Camera and Hands height

Using the Oculus Rift S, I just added OVRCameraRig and LocalAvatar or OVRPlayerController and when I press play I feel like I'm not as high as I want in my vision and hands, I change the position of Y ...
user avatar
1 vote
1 answer
120 views

How to scale player as they travel between 2 points

I'm doing a VR Project where the player walks down a hallway. The player starts with a size of 10 and is supposed to scale down to a size of 0.5 (well the GameObject in which all the player stuff is ...
user avatar
0 votes
1 answer
49 views

How can velocity be normalized after a collision if a projectile needs to maintain its height?

I want a thrown disc to travel along the same height, even after collisions. The problem is, there's an edge case that I'm not sure how to deal with. The lowest-tech solution would probably be to ...
user avatar
  • 121
0 votes
0 answers
92 views

Would landscape left/right make difference when developing Google VR CardBoard Game with Unity?

I'm trying to make a simple VR cardboard game using Google VR SDK for Unity. I'm really confused about the problem as my title. Will the values got from ...
user avatar
  • 169
0 votes
1 answer
246 views

How to develop VR PC games without a Head-Mounted Display of my own?

I am an intermediate student of Unity 3D, and I am not able to purchase heavy and expensive equipment like Oculus Rift, HTC Vive, or other models that are not available in Pakistan. So I'm wondering ...
user avatar
0 votes
0 answers
113 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 ...
user avatar