Skip to main content
New Participant
March 14, 2017

Collision Between Objects

I'm holding one object in each hand, objects are rigidbody collider. When i try to collide each other, there is no collision between each other(objects), but when i poke with one object to other which is stationary or lying on ground the collision works fine. I want same effect when holding in both hands. Is it possible?
This topic has been closed for replies.

7 replies

Inspiring
March 14, 2017
If the rigidbodies are kinematic, they will not respond (in terms of movement) to collisions.  You should look into attaching them to the hands with joints. You'll want invisible kinematic rigidbodies that do move with the hands, and then the objects (which should not be kinematic) can be attached to those with joints. 
SuzitAuthor
New Participant
March 17, 2017
It ain't working 
SuzitAuthor
New Participant
March 17, 2017
@imperativity...yup, i'm using ovrGrabber
SuzitAuthor
New Participant
March 22, 2017


@Suzit

OVRGrabber makes
the Rigidbody components kinematic when you pick them up so they only follow
your hand movement. You could rewrite the script to use a joint instead of
parenting.



Thanks mahn!! will look into it.
SuzitAuthor
New Participant
March 22, 2017

weasel47 said:
@Suzit

If the rigidbodies are kinematic, they will not respond (in terms of movement) to collisions.  You should look into attaching them to the hands with joints. You'll want invisible kinematic rigidbodies that do move with the hands, and then the objects (which should not be kinematic) can be attached to those with joints. 

Thanks mahn1
New Participant
November 27, 2017
Can anyone elaborate on what/where this takes place in OVRGrabber? I have the same issue, need a grabbed object to tell what it's colliding with (whether those are kinematic or not). I am failing to understand how I would go about attaching the objects to the hands with joints. Would I add a joint component to the grabber and dynamically set the connected body or add it to the grabbed object and set the hand as the connected body?
New Participant
November 27, 2017


Can anyone elaborate on what/where this takes place in OVRGrabber? I have the same issue, need a grabbed object to tell what it's colliding with (whether those are kinematic or not). I am failing to understand how I would go about attaching the objects to the hands with joints. Would I add a joint component to the grabber and dynamically set the connected body or add it to the grabbed object and set the hand as the connected body?


I guess my question for @imperativity is where is the object being set to be kinematic, I just can't find it... I am using distanceGrabber, and when I grab something it sets to Kinematic but I don't see it in either OVRGrabber or DistanceGraber during any of those events. What am I missing? Thanks for the help!