Only rotate a gameObject by grabbing it, using Oculus Interaction SDK
im making a vr project and i need to be able to grab and rotate a gameobject, the gameObject may only be rotated in the Z Axis and have a max turn of -90. However nothing happens when i try and grab the gameObject?.
C# Script Does Not Work as Intended and I Can’t Figure Out Why?
I’m creating an experiment in Unity using some C# and it nearly completely works, except for Haptic Scenario 3. In the experiment, there are 4 scenarios – a visual only scenario, a haptics only scenario, a haptics then visual scenario and a visual then haptics scenario. 3 of these scenarios work exactly as intended, but for the life of me I can’t get Haptic Scenario 3 to work properly. The visual and haptic modalities appear in the correct order, but the game object does not follow the tracked point properly for some reason / the game object movement code does not work in the same way it works for the other 3. Does anyone know why this is from just looking at the code?
Unity physics is applied on objects that use XRGrabInteractable
i have a script that creates primitive spheres, i want them to be interactable in vr using XRGrabInteractable or any other component, whenever i do this: