- Home /
GameObject not colliding while grabbed in VR
Hi there,
I run into this strange issue. I have a pencil and a whiteboard. Both with colliders. Pencil has kinematic set to false.
When I throw the pencil to the whiteboard, it is colliding. But when I grab the pencil (ovrgrabber), it isn't collding anymore. See here (https://gofile.io/?c=iAXl0k) a small screencast (sorry, bit of bad quality) of the issue.
I already read some posts of ovrgrabbable setting kinemtatic to true onGrab. But commenting this out doesn't help. Also changing Collision Detection of rigidbody of pencil don't seem to change anything.
Any ideas?
Thanks!!
Answer by gabesalvatore · Apr 22, 2021 at 09:08 PM
Hi there, @unity_M9gWJ6X-SC7BSQ use i am facing the same issue, ovr distance grabbable and object loses collision when on hand, any easy way to keep collision with static objects? it seems to only collide with other rigidbodies.
Did you find any solution?
Hi @gabesalvatore ... I recently switched to XRToolkit instead of OVR library, which has this fixed out of the box.
Check this: https://www.youtube.com/watch?v=ZPhv4qmT9EQ based on sample project.
Your answer
Follow this Question
Related Questions
Ball Bouncing When Moving Over Colliders 0 Answers
What else is to be done if players falls through the floor? 0 Answers
raycasts only working with IsTrigger colliders? 1 Answer
how can I have a smooth collision for a car following a path? 0 Answers
Alternatives to OnCollision methods/messages for many physics objects? 0 Answers