Forum Discussion
jelmer_s2
2 years agoProtege
So many confusing things with the SDK
I'm used to MRTK2 & 3.
Oculus SDK (/Meta SDK? this is where the confusion starts LOL!) seems very... complicated to me. Generally it is weird that there are SO many components with similar names, from OVRplugin and Oculus.Interaction. In addition, having to add a link so much stuff to OVRCameraRig just to get some hand interactions going is like... crazy! This is super error prone and time consuming.
More concretely; I want to re-create something from the DistanceGrabExample scene; being able to manipulate an object from closeup and a distance with both controllers and hands. In addition I want to support two hand scaling and manipulation as well.
Can someone explain which components I need to add where? I understand the list is going to be loooong.
This is what I have so far. What is not working for me is:
- Now the object flies to the user, I don't want that
- The object is LOCKED
- Two hand scaling is also not working, despite the fact that I added Two Grab Free Transformer.
Also I get a ton of nullreferences for the Reticle components that I copied. Do I really have to assign everything again? This is a least intuitive thing ever?
2 Replies
Replies have been turned off for this discussion
- Hassan_KProtege
I'm getting into the Meta SDKs too and it's important to note that there are some changes happening (for the better) toward more modular and package-based SDKs.
Reading this helped me: https://developer.oculus.com/documentation/unity/unity-package-manager/. On top of that, I believe it's really important to stick to the official documentation and forums. Previous resources and tutorials are always tempting, but might be out of date.
- Big_FlexMeta Employee
Hi Jelmer,
Here are some of the official docs that might help you.
- Create Distance Grab Interactions
- Create Grab Interactions
- Two hand scaling (this isn't a tutorial, just reference information, but it might help. Make sure your object has a Grabbable component.)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 13 days ago
- 21 days ago