Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
passthru_studio's avatar
3 years ago

Hand Tracking v55 - Attaching GameObjects to Bones is Broken

I'm using this code to attach a game object to hand_thumb3:

            _rightHandSkeleton = _rightHand.GetComponent<OVRSkeleton>();

            _rightBoneToTrack = _rightHandSkeleton.Bones
                        .Where(b => b.Id == OVRSkeleton.BoneId.Hand_Thumb3)
                        .SingleOrDefault();

            _myGameObject.transform.SetParent(_rightBoneToTrack.Transform);

However, _myGameObject's position ends up being way off from where my hands are supposed to be. This is making me think that hands aren't tracking properly with children attached. This method worked before I upgraded to v55. Any suggestions?