Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
139 views

How do I detect grab and release events on Meta XR grabbable objects in Unity?

I'm developing a Unity project using the Meta XR Interactions SDK. My grabbable objects include the following scripts: Grabbable.cs GrabInteractible.cs HandGrabInteractible.cs In my scene, I have ...
Yoav Linder's user avatar
0 votes
0 answers
74 views

Unity XR simulated environment with tracked images

I am working on a project for university with a team of other developers. In this assignment we are making a AR presentation of the Pokemon trading card game. The main goal of this is to have the ...
HarrisonO's user avatar
0 votes
0 answers
51 views

Type or name space couldn't be found

Assets\VoiceCommand.cs(8,13): error CS0246: The type or namespace name 'KeywordRecognizer' could not be found (are you missing a using directive or an assembly reference?) Assets\VoiceCommand.cs(27,35)...
Saurabh Singh's user avatar
1 vote
2 answers
237 views

Snapping interaction in VR

I have a device in my hand. I want to snap this device in my hand to the surface of the target object in a VR scene. I am using SteamVR plugin. When I bring my device closer to the target object, the ...
Rimini23's user avatar
-2 votes
1 answer
263 views

Cant build my unity project. "The type or namespace name 'Speech' does not exist in the namespace"; What can I do to fix? (VR Unity)

I have a problem to build my unity project. I have a VR unity project I want to build to use my oculus quest 2 to test my game. But when building I get 5 errors for a class of mine. I dont really know ...
stackOverGuy's user avatar
0 votes
0 answers
178 views

Why is my Unity script not able to be loaded?

I am making a vr game and I am using UnityXR to do so. I am making a script that will have two attach points for an object (pistol). These points change based on which hand is holding the object. Here ...
BumbleFuzzz's user avatar
0 votes
1 answer
89 views

VR: Put item in hand from List

I hope you are doing well. So I am creating a VR with XR game in which I have a list of items as Scriptable Objects. Now I want to put one item in my hand when I press a button but I run into problems ...
BigShaqSkrrr's user avatar
1 vote
1 answer
210 views

How can I change the forward movement to follow the player?

I am trying to make a vr game and I need to make my own mechanics for certain actions. How can I make it so the forward movement goes forward in the way that the player rigidbody is facing? I am using ...
BumbleFuzzz's user avatar
1 vote
0 answers
410 views

System.IO.FileNotFoundException with no description

I'm currently updating a Unity project from 2018.4.36f1 to 2020.3.24f1 to remove the SteamVR system an use the XR Interaction toolkit. Most of the changes and errors have been solved but the following ...
L.Vezzani's user avatar
2 votes
0 answers
156 views

Unity Android :Unity doesn't load Android.Runtime.JNIEnv:AndroidValueManager

I have a little problem. Unity doesn't load Android.Runtime.JNIEnv:AndroidValueManager. I don't know where this error comes from and how to repair it... My error logs : 2021/06/22 10:09:33.456 5302 ...
Lilian Sananikone's user avatar
0 votes
0 answers
43 views

Record Kinematic Data in Oculus Rift

Trying to record kinematic data of hand movement with Oculus rift rather than a motion capture camera. Save the positional data in the x,y,z coordinate planes of the hand and give them some kind of ...
Christopher Dunn's user avatar
1 vote
1 answer
185 views

What namespace includes the type HolograhicFrameData?

I'm using this Microsoft Documentation to work with Spatial meshes. https://learn.microsoft.com/en-us/windows/mixed-reality/develop/platform-capabilities-and-apis/scene-understanding-sdk Under the &...
NCarlson's user avatar
  • 350
2 votes
2 answers
6k views

How do I lock the rotation of a grabbed object with Unity Oculus VR

For an Oculus Quest game i'm working on, I need to be able to grab an object and not rotate it in any way. I should be able to move it in the x, y and z axes though. I'm doing this in a climbing game ...
TheBattleCat's user avatar
1 vote
2 answers
209 views

How can I apply scripts in new camera which is child of a gameobject

Earlier I was facing problem regarding the unity camera problem it always stuck on 0,0,0.08 and also find a solution so I first create an empty gameobject and then drag the camera in that empty ...
Tanmay's user avatar
  • 23
0 votes
1 answer
83 views

How to fix interactable objects movement if not interacted without adding gravity

VR-oriented game in dev. I have the two-hand-manipulation-script from the MRTK implemented, interacting with my objects works. Goal is to let the objects remain static in their position after ...
Flo's user avatar
  • 97

15 30 50 per page