cancel
Showing results for 
Search instead for 
Did you mean: 

Add mesh collider to hands?

Anonymous
Not applicable
Is there a way to add mesh colliders to the OVRPlayerController hand components? I'd like to have very accurate collision detection for them
7 REPLIES 7

MikeF
Trustee
Since mesh colliders dont update in respect to the current hand pose this would be very taxing on performance  to create at runtime. What id recomend is iterating through each finger joint after they have been initialized and attaching a capsule collider with appropriate dimensions. This will give you very accurate collision which conforms to any pose with very little overhead. Additionally you can set the colliders as triggers if desired while a mesh collider can only be convex in trigger mode which would negate the accuracy you want

BloodyOculus
Protege
I'm working on the same thing and i found this online but havent tried it out yet 
it mentioned the same thing mike said about the capsules
http://www.rgbschemes.com/blog/oculus-touch-and-finger-stuff-part-2/

jpeezious
Explorer
I've been looking into this too. That rbgschemes post above is great. But worth noting it doesn't work with the current unity integration... the principles are probably the same however. I've yet to get it working but will follow up more if I can

NAV_Canada
Honored Guest
Did someone found a solution for this? Currently trying to add collisions to hands as well.

MikeF
Trustee
Yeah a solution was found, read the 2nd post.

MikeF
Trustee
or you can save 10 dollars and follow my instructions above to have an identical setup