Skip to main content
May 30, 2018 2:44 PM UTC
Solved

Hinge Joints When Grabbing Objects

Hello everyone, my question is the following: how do you grab objects and rotate them on a specified axis, like a hinge joint? 
This topic has been closed for replies.
STAcxaAnswer
New Participant
Aug 10, 2025 1:38 PM UTC

For anyone who still is looking for a solution: Check out these sources:

Grabbable | Meta Horizon OS Developers
How To Grab Objects With Controller In VR - Oculus Interaction SDK

6 replies

Jun 5, 2018 8:06 PM UTC
Thanks so much @imperativity, advice taken
Jun 5, 2018 8:09 PM UTC
One more question @imperativity , how do I simulate a turret using the VRTK, after some digging, I can only seem to make my turret rotate on one axis, is there a way make my turret rotate on the X and Y axis using VRTK?
Participant
Jun 8, 2018 4:32 AM UTC
We use the VRTK quite a bit.  You can simulate a turret using the VRTK just fine (it can fully track everything you do with your controllers).  You may need to look at the examples and extend its controls.  The downside to the VRTK, is although it is a very cool and comprehensive framework - it has its bugs and it has a lot of redundant abstraction that takes a while to learn and work through :)
Jun 8, 2018 4:12 PM UTC
@lsummers Firstly thank you for the reply. Now, by extend it's controls, you mean add to it's code I am assuming?
Jun 14, 2018 5:03 PM UTC
I still have not succeeded in doing this, any help would be appreciated. Thank you
STAcxaAnswer
New Participant
Aug 10, 2025 1:38 PM UTC

For anyone who still is looking for a solution: Check out these sources:

Grabbable | Meta Horizon OS Developers
How To Grab Objects With Controller In VR - Oculus Interaction SDK