I fly when i pick up objects in VR
I'm using the Oculus Integration asset from the store, and when I pick up objects that have the grabbable script I randomly just fly upwards. I have no idea how to fix the problem and was wondering if anyone knew the answer to this problem. Thanks!
Answer by DDorukA · Apr 06, 2019 at 12:48 AM
Are you using collider and rigidbody components for the objects that you are trying to grab along with the OVR Grabbable script? If not, try using both of them attached to the object. For the rigidbody enable use gravity and is kinematic. For the the collider, you could use any of them. I am using both mesh and box collider for the objects and works fine. You should also enable convex and is trigger for colliders. If these doesn't work please share your OVR and object inspector screenshots so I can help you further.
Hey, sorry I wasn't looking at my answers but I did figure this one out and you were totally right as well. It was the collider on my OVR Player and the collider on the cube that were interacting and making my player randomly fly up. Thanks for your answer as well, appreciate it.
Your answer
Follow this Question
Related Questions
Generic UI interaction for VR 0 Answers
How can I track the turn on of HTC VIVE controllers in Stem VR? 0 Answers
RayCasting Unity 2017.3.f10 Oculus Rift VR, not originating from center of viewport/camera 0 Answers
Support for native plugin rendering in VR on either OpenGL or Vulkan? 0 Answers
Game does not run in Headset after build 2 Answers