Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
RoyJayBoi's avatar
RoyJayBoi
Honored Guest
2 years ago
Solved

Meta XR SDK: How to create a Throttle interaction? (extra+)

Hey guys. I am currently working on a Side project. My aim is to create a Submarine control expeirence in Unity using the Meta XR SDK.

Now I have a prefab of a Cockpit that I spawn using the spatial anchor.

I want to have an intractable on it that I can grab with my hand (Hands Controls only btw.) which represents a typical  Plane throttle "leaver" which the user can slide  forwards and back.

Sadly, I have no clue how to do this as I'm not deep into the Meta XR SDK and cannot find any information about this topic, let alone know where to start looking πŸ˜•


Apart from that, I want to create a a leaver too that can go left and right as a means to Control the submarines Yaw axis. (this I can figure out by myself tho... I hope πŸ˜„ )


I'd be glad if anyone can help me out and explain it to me ❀️ 

Thanks a Lot

  • I'd suggest checking out the ISDK Transformers sample scene. There is an example of a chest with a grabbable lid that follows a similar constrained motion trajectory as a throttle leaver. Hope that helps!

3 Replies

Replies have been turned off for this discussion
  • I'd suggest checking out the ISDK Transformers sample scene. There is an example of a chest with a grabbable lid that follows a similar constrained motion trajectory as a throttle leaver. Hope that helps!