cancel
Showing results for 
Search instead for 
Did you mean: 

New Oculus Touch Demo Source Code

Glightgames
Protege
I've just played the new Oculus Touch Demo available for Touch users, is it possible to get the source code for this?

I think it would be a great help to developers, myself included to see how you've achieved some of the functionality.

Is punching objects already included in the latest Touch SDK?
2 REPLIES 2

JulianB
Protege
I think it is, yes. As I read it the touch sample script components tend to de-activate the contained collider nodes by default until the fist pose is made. At that point the collider nodes are rapidly scaled up from a small size to their normal size to handle sudden physics interpenetrations that might occur should the player's hand already be inside a rigid kinematic object when the pose is made. I've tested interacting with strips of Unity cloth and contact is made when the fist pose is activated. Works out of the box for me. 
-j www.julianbutler.com Love is a snowmobile racing across the tundra and then suddenly it flips over, pinning you underneath. At night, the ice weasels come.

pjenness
Rising Star
Yea I have touch in my Drift In VR app. and I can punch rigid bodys with colliders by default
Drift VFX Visual, Virtual , Vertical Want 970GTX on Macbook for good FPS? https://forums.oculus.com/viewtopic.php?f=26&t=17349