cancel
Showing results for 
Search instead for 
Did you mean: 

Hide controller when OVRGrabber picks up an object

chris_banwell_3
Level 2
I'm trying to hide the controller when I grab an object, and show it when I release the object using OVRGrabber, ive edited the OVRGrabber script with the following:

if (m_grabbedObj)
{
            if (m_controller == OVRInput.Controller.LTouch)               
                transform.parent.GetComponent<OvrAvatar>().ShowLeftController(false);
}

But I get The Type or namespace 'OvrAvatar' could not be found.  I can see it's part of a dll, anybody got any ideas how to access it as a component or maybe a better way of hiding the controller when the object is grabbed?
0 REPLIES 0