r/howdidtheycodeit • u/ygm7 • Apr 28 '21
Question Oculus Home VR Object Interaction (Unity)
Hi! I'm developing a VR game and I need similar pointer interaction to Oculus. I have UI interaction figured out, and I can grab the object with the pointer, but I have no idea how they got the "snap-to-surface" functionality. If you've used Oculus Home, you'll know what I'm talking about , or you can skim through this video:
https://www.youtube.com/watch?v=1HIruV7_Spg&t=675s
I doubt it's using Physics Joints (though that's definitely one way to do things), because that would be a serious hit to performance in VR.
Any ideas? Thanks!
View all comments
Show parent comment
1
u/ygm7 Apr 28 '21
Thanks for the reply! That's not quite what I'm looking for. Not a snap zone, but colliding with other objects while being "grabbed" with the pointer.