[HTC Vive] Grabbed Objects Not Interacting Correctly With Other Objects

While trying to make a very simple baseball-like interaction between a stick and a (bouncy) ball, I have encountered an odd interaction between the baseball bat (while held) and the ball.

When the bat is held and swung at the ball, the ball does not fly away as expected, but rather sort of ‘sticks’ to the bat for a while until you stop swinging, at which point it (slowly) rolls off/away.

The ball has a sphere collider that is not a trigger and a rigidbody that uses gravity and is not kinematic.
The bat has a capsule collider that is not a trigger and a rigidbody that uses gravity and turns kinematic when grabbed and held with a Vive controller.

I expect the kinematic property to be the culprit, because interactions are much more realistic when the bat is not held, but if it is not kinematic while being held it does even worse things (like flying around all over the place). Any help would be greatly appreciated.

A video example of what goes wrong is visible here.

1 Answer

1

Nevermind, turns out the grab system I used wasnt fit for interaction because it made the grabbed object kinematic. Using a FixedJoint solved everything.

Sorry for the useless post, but perhaps this answer will help some in the future.