steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

fix: use clearanceCheckMask when checking for hand overlap

Open meznaric opened this issue 6 years ago • 2 comments

HandPhysics stops working after you release an item. Note: I had my own colliders around the hand which were overlapping with HandPhysics, and therefore after first pickup, you cannot interact physically with an item anymore. There is clearanceCheckMask that I believe serves the purpose of telling which items this check should ignore.

The clearanceCheckMask is defined and can be configured, but is simply not being used when hand releases an object.

This PR uses it in what I believe was intended place.

I can confirm it's working as it solved my bug.

meznaric avatar Sep 20 '19 14:09 meznaric

How strange we missed that! Thanks for the pull. I'll integrate into the coming release.

keithbradner avatar Sep 20 '19 16:09 keithbradner

my god! after spending the whole day wondering what the problem was, i debugged and figured out this was it. i was excited about opening a pull request only to see it's already done. please merge.

gazuntype avatar Jun 07 '20 14:06 gazuntype