- Home /
Grabbing Objects using VRTK
I am new to Unity and VR. So far I am able to grab objects with SteamVR and VRTK. However everytime I grab something, the point on which the object is grabbed on is always its center. This is a problem for big objects because when you grab it, you are suddenly inside the grabbed objects. What changes need to be done to solve this? It would be nice if the Grab point is the actual point where the controller and the object overlay.
Answer by JoeNoob · Jan 08, 2018 at 05:58 PM
Oh I found an answer myself :D In case anyone has the same problem: https://www.youtube.com/watch?v=KPJBFpl2bPI
Answer by unity_8OaaYiLvKPqJSg · Feb 28, 2019 at 08:59 AM
Hello, have the same problem, yet not finding the solution in the video you linked. How did you fix your problem @JoeNoob ? Thanks in advance :)
Just use S$$anonymous$$mVR's interactable class. There really is no need for VRT$$anonymous$$ any more as S$$anonymous$$m provides just about everything you need in their examples.
If you use VRT$$anonymous$$ just Check "Precision Grab" on the VRT$$anonymous$$ Grab Objects Script.
Your answer
Follow this Question
Related Questions
Adding an object to a character 1 Answer
Pick Up Object using Rigidbody FPS 0 Answers
SteamVR Door handle .. Door, Hinge Joint not Circle Drive. 0 Answers