Hey guys, first update!
Highlights
The object you’re about to grab can become highlighted, which is useful when there are multiple small objects around and who want to know which one to pick. This is done as post process effect using custom stencil, so you need to have custom depth and stencil enabled, you need to add highlight material to your post process volume. This is also completely optional, if you don’t want this simply set HighlightGrabs bool in HandBP to false.
Oculus Dash support
Oculus Dash and life cycle handling should be fully supported, the hands will completely dissappear and you cannot interact anyhow with the world when Dash is up. If you don’t have Oculus VR plugin enabled, you’re likely to seem compilation errorr, simply delete the problematic code. It seems like I’ll be turning UVRF into a plugin to allow integration with things like gloves, so I’ll wrap those platform specific functions into my own, so you don’t have to worry about platforms at all.
Ingame controller (Touch only)
Also using menu button on Oculus Touch, you can now see the controller model in VR, and see your hand relation to it and grabbed object relation to it. Touch controller model is licensed under Oculus SDK license, so it’s the only part of the demo that’s not CC0. Full text of the license can be found ‘\Content\Framework\Controllers\Touch’.
Changelog 1.1
- Oculus Dash Support
- Added ClearGrab, when object can no longer be grabbed
- Added GrabObject function to HandBP, so object can be grabbed as reaction to some ingame event (like changing objects in hand)
- Grab now looks for closest object to grab, which is useful when there are multiple small objects around
- Highlights the object that is about to be grabbed, this is optional
- Touch controller model added, with permission from Oculus. The model remains under Oculus SDK License (included in Touch controller root).
Download: http://infinite.cz/UVRF/UVRF-Template.zip
Also some time ago a wrote a medium.com article about this > iNFINITE | UVRF Handpresence
Once again I hope you’ll find this useful