Questions tagged [virtual-reality]
Virtual reality is a technology that simulates the physical presence of users in an artificially-generated environment.
177
questions
0
votes
0
answers
71
views
Why do my VR avatar's hands clip through my chair object?
I have spent hours on this task and I feel it's high time I asked. My avatar hands go into my chair GameObject.
I added a box collider to the hands of my avatar and unchecked "Is Trigger". I ...
0
votes
0
answers
35
views
How to scale a room along the z axis so one wall stays in place and only the far wall moves?
I'm a Psychology undergrad working in a spatial navigation lab where we design Unity environments and have people navigate them in VR. There's a lot of stuff we do here that doesn't involve coding, ...
1
vote
1
answer
32
views
Showing something different on screen to what is seen in Oculus
I was tasked with creating a demo for something involving VR. They want people to use the VR headset, but they also want to visualize some of the calculations that go on behind the scene to the ...
0
votes
0
answers
39
views
Making a Chest for VR Game with Hinge - Now I need sound
I am trying to make a litte RPG Game for VR (openXR and Hurricane VR framework in Unity)
The chest works now, but I would like to have an opening and closing sound. Because I dont use an animation for ...
0
votes
0
answers
44
views
Issue with excluding object from post-processing in VR
I wanted to exclude some objects from a specific layer from rendering in the post processing.
I followed both : https://www.youtube.com/watch?v=LAopDQDCwak and https://www.youtube.com/watch?v=...
0
votes
0
answers
29
views
Unity XR - Rotate a grabbed object with XRGrabInteractable around its pivot
I'm pretty new to VR development with Unity, what I need to do is to grab a clockwork object and rotate it around its pivot by moving the right hand controller, like if I had to do that in real life
...
0
votes
0
answers
26
views
Specify endpoints and orientation of FixedJoint created programatically
I'm creating a VR game with Unity using XR Interactive Toolkit with physics based hands which follow the controllers around, but collide with objects. So if you reach through a stationary object, the ...
0
votes
1
answer
62
views
Use Graphics Raycaster do implement pointer control VR
I am trying to figure out how to allow my players to put in a code to join a group room using photon. Unity seems to suggest using a graphics raycaster but in most sample code it uses mouse input for ...
1
vote
1
answer
367
views
Manually trying to start AR Core XR Loader, but its Subsystems won't start?
I'm trying to implement that in one scene I start the Google Cardboard XR Loader, and in the other scene I start the AR Core/AR Kit XR Loader.
This is how I start the loader required for the scene:
<...
1
vote
1
answer
824
views
Can't play my .apk on Pico VR due to Copyright Verification error
I’m learning to use Unity to create VR applications for my company to use internally. I created an app that worked great on the Quest 2, and decided to try to do this for Pico as well. I followed a ...
0
votes
0
answers
36
views
MobileVRInterface is slow / delay
I created an empty project, added a VR Origin + a VR Camera and added the following script to the spacial root:
...
0
votes
0
answers
406
views
Unity VR Detect if object is being held
I am using the XR Interaction Manager in Unity VR. The player can hold objects when pressing the trigger button of the hands (the interactable object has the component XR Grab Interactable).
I want to ...
1
vote
0
answers
60
views
Get Vive Cosmos' proximity sensor state
I'm working on a project with both VR and Desktop modes in the same scene and using Ultraleap.
I was previously using an HTC Vive and SteamVR to detect if the user put the headset on his head with the ...
0
votes
0
answers
37
views
My instantiated prefab is rotating in scene view but not in game view during play mode. Why?
I created "rotate.cs" & attached it to a prefab which gets instantiated during play mode. The gameobject which spawns is supposed to rotate constantly. For some reason, it rotates only ...
0
votes
1
answer
106
views
"Attach socket" with Oculus Interaction SDK
I'm trying to recreate the "attach socket" (XRSocketInteractor) from Unity's XR Interaction Toolkit.
Has anyone had any success? I've read through the documentation but can't come up with a ...
0
votes
0
answers
161
views
Copy a meshes pose to pose another mesh
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 ...
0
votes
1
answer
149
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 ...
2
votes
1
answer
71
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 ...
0
votes
0
answers
250
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 ...
1
vote
1
answer
65
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 ...
1
vote
1
answer
163
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 ...
1
vote
0
answers
88
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 ...
0
votes
1
answer
62
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
599
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 (...
0
votes
0
answers
173
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 ...
0
votes
0
answers
30
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 ...
0
votes
1
answer
338
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 ...
0
votes
0
answers
201
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 ...
3
votes
1
answer
124
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. ...
0
votes
2
answers
1k
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 ...
0
votes
0
answers
37
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 ...
1
vote
1
answer
59
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 ...
0
votes
0
answers
163
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 ...
0
votes
1
answer
106
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 ...
0
votes
1
answer
139
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?
...
1
vote
1
answer
90
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 ...
0
votes
0
answers
81
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 ...
1
vote
2
answers
617
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:...
0
votes
0
answers
36
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 ...
-1
votes
1
answer
435
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 ...
1
vote
1
answer
39
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 ...
0
votes
0
answers
453
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 ...
0
votes
0
answers
310
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 ...
0
votes
1
answer
48
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 ...
0
votes
1
answer
914
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 ...
3
votes
0
answers
565
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 ...
1
vote
1
answer
1k
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.
0
votes
1
answer
96
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 ...
1
vote
1
answer
145
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 ...