//MeshCollider meshCol; private void Awake() { rb = GetComponent <Rigidbody>(); fixedJointGrab = FindObjectOfType <VR_FixedJointGrab>(); //meshCol = GetComponent<MeshCollider>(); //meshCol.convex = true; }
private void Awake() { //setting up variables fixedJointGrab = FindObjectOfType <VR_FixedJointGrab>(); highlightObject = transform.GetChild(0).gameObject; //deactive highlighter if alwaysShowHighlight is false highlightObject.SetActive(alwaysShowHighlight); }
private void Awake() { fixedJointGrab = GetComponent <VR_FixedJointGrab>(); }