Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Trying to hide the controller when object grabbed

chris.banwell.3chris.banwell.3 Posts: 10
NerveGear
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?
Sign In or Register to comment.