Search Unity

Oculus Grabber Modifications (For Finger Collisions)

Discussion in 'AR/VR (XR) Discussion' started by firkinfedup, Nov 10, 2018.

  1. firkinfedup

    firkinfedup

    Joined:
    May 6, 2017
    Posts:
    10
    Hi there,

    I thought I'd share something I've been messing about with this morning.

    I've modified the OVRGrabber script so that it creates 2 colliders, 1 for the hand using its current* pose and another which is used as the trigger for grabbing OVRGrabbable objects.

    So in the AvatarWithGrab scene, using my modified script, I deleted the capsule colliders that are already in the "AvatarGrabberLeft" & "AvatarGrabberRight" objects...

    upload_2018-11-10_11-46-12.png

    Now when the scene runs it should create the necessary colliders, enabling full collision with the hand, allowing you to poke things and rest them in the palm of your hand, as well as grab things.

    There's loads of tweaking that can be done, and I'm sure the collision mesh is probably a bit overly complex, but for small, simple, scenes, hopefully this is usable.

    Video link below.

    https://1drv.ms/v/s!AlN90gKdry3-tLA6WJ6QUkIXC4tXyA

    If you have any ideas / feedback just let me know.
     

    Attached Files:

    hoodoo likes this.