Questions tagged [virtual-reality]
Virtual reality is a technology that simulates the physical presence of users in an artificially-generated environment.
209 questions
0
votes
1
answer
26
views
Best way to sync PhysicalObj to player headset position?
I’m in the process of designing a threejs-based webxr engine for simple VR games. Right now, I’m working on implementing physics with cannon-es, but I’m struggling to figure out how to sync the player’...
1
vote
1
answer
128
views
How can I make liquid in my vr bartending game
I'm working on a realistic VR bartending game for Quest, and I need some help with making bottles pour liquid into cups. I'm aiming for a system where:
When a bottle is tilted, liquid pours out ...
1
vote
3
answers
202
views
Is it possible to set a specific frame rate on my game
For the past month i've been working on a vr project and i wonder if i can obliged players to be on 90hz when playing the game because if player use 60hz then the game becomes laggy and since 90hz is ...
7
votes
3
answers
4k
views
Is it possible to directly check for source code modification
I'm looking for a better way to actually detect "cheats" by checking if the source code of my game has been modified and if any code has been injected to the original code in C#.
The issue ...
0
votes
1
answer
39
views
How to build a Unity WebXR scene that uses raycasters?
I am fairly new to Unity. I want to create a VR project that I build to WebXR and publish to the web. I am using the sample scene from this project and it helps me get up and running. I am able to ...
0
votes
0
answers
137
views
How do I hide the XR controller when the player grabs an object in Unity XR?
I recently switched from Unity XR interaction toolkit 2.4 to XR interaction toolkit 3.0.
I noticed that in the XR Direct Interactor (the grab interactor) the option to hide the controller after a grab ...
0
votes
0
answers
31
views
Unity XR Build and Run no longer working
I have connected the meta quest 3 to my computer via USB cable and allowed debugging on the device.
I have opened the default VR template from Unity Hub, without any alterations.
In Unity I select &...
0
votes
0
answers
394
views
How to disable distance-grabbing for XR Grab Interactables?
In the Unity default VR template, with XR Interaction Toolkit 3.0, there is a "XR Grab Interactable" component. This allows the user to grab an object with the controller trigger.
This also ...
1
vote
0
answers
102
views
Unity XR Device Simulator ignores camera position
I am trying out the XR Device Simulator in Unity. When I press PLAY, the camera falls to the floor and ignores the character controller / camera y offset.
Why is this? How to correctly use the XR ...
0
votes
0
answers
58
views
Fast way to compare a large set of positions, rotations, velocities, etc. during runtime (possibly every frame)
The Goal
I'm working on a vr gesture recognition system. Normally these systems are dependent on "drawn" gestures, but I want something that compares position, rotation, velocity, angular ...
0
votes
0
answers
139
views
Hide objects behind invisible wall
I am developing a VR application in Unity where I have a 3D object (a plane) flying over the player's head. I am using a Skybox for the background and I want to make the plane "disappear" ...
1
vote
0
answers
752
views
Completely independent dual GPU setup for VR with 100% "SLI efficiency"?
I have a simple (and maybe quite naive) question regarding dual GPU use for Virtual Reality (VR); it nagged me for years now and I couldn't figure out why this can't work, at least in principle:
I ...
1
vote
0
answers
63
views
Voice SDK does not work on the Quest but does in Unity editor
I am making a VR game for the quest with Unity and for a trial I have a microphone with a button that you have to press and say a specific phrase. For that I am using the Voice SDK but I have a ...
1
vote
1
answer
3k
views
Tracking real life object in Virtual Reality
I'm building a VR game (in Unity) in which a user uses a real-life steering wheel to drive around. I want them to be able to grab the steering wheel in real life, while the virtual counter part of ...
0
votes
2
answers
356
views
Unity VR using OpenXR, how to spawn object when you grab a static object
I am trying to create a simple VR card game in Unity using OpenXR, just to learn Unity and also some VR stuff. I made a deck of cards object and a card object. I put both in a scene. The card is ...