Hand physics Capsules not following the fingers
Hello, So I have a working project with the new version 13, when I tick "Enable Physics Capsules" in OVR Skeleton script, inside the OVRHandPrefab, the capsules behave wired. So, as soon as the hands are detected, the capsules appear basically at the tip of the selected fingers (this, through the InteractableToolsSDKDriver, and the InteractableToolsCreator script), but as soon as I move my fingers, the position of the capsules remain the same, it doesnt update the position in relation to the finger, but it travels with the whole hand. I wonder if there is a bug regarding the attached parent? Then, if I hide the hands, as soon as they appear again the capsules appear in the correct position of the finger tip, just to stay there again when the finger moves. I am guessing this is not the desired behavior, right? Thank you!8.4KViews1like22CommentsHow can I toggle (enable / disable) OVRGrabbable on a Unity game object in script?
I would like to toggle OVRGrabbale on a game object, subject to a boolean condition. As an example, a virtual "screw": - when it is screwed into a hole (engaged), it SHOULD NOT be grabbable by the player - when it is unscrewed (dis-engaged), it SHOULD be grabbable by the player My understanding is the boolean attribute "allowOffhandGrab" can / should be used for this, however this attribute is only read-only in OVRGrabbable.cs. Adding a setter in OVRGrabbable.cs has not had any effect on disabling OVRGrabbable during runtime. /// <summary> /// If true, the object can currently be grabbed. /// </summary> public bool allowOffhandGrab { get { return m_allowOffhandGrab; } set { m_allowOffhandGrab = value; } // Added to test grabbablity switching (ie. on / off) but does not seem to work } As a partial workaround solution, I've also tried enabling / disabling the game object's collider and rigidbody.detection components. Both of these work by allowing me to toggle the object's "grabbability" however creates interactivity issues with other game objects, so is not a feasible solution. Can someone please help? Thank you.Solved6.2KViews0likes8Comments