01-05-2022 09:51 AM
I'm using the Oculus Hands demo scene for hands tracking (HandsInteractionTrainScene) and it works correctly. However when I try to replace the default hands with custom hands following the process :
I can see the custom hands working fine but the FingerTipPokeTools and the RayTool do not appear and therefore I cannot interact with the Buttons or other interactables in the scene. 😡
What am I missing? Please refer to the screenshots for additional details
01-05-2022 12:09 PM - edited 01-05-2022 12:09 PM
After several hours of painful debugging I might have found what's the problem:
Cause
Solution
Access the HandsManager.cs script and add a public variable:
[SerializeField] bool _useCustomHands;
Then update the IsInizialised() method at line 248:
public bool IsInitialized () {
if (_useCustomHands) {
return LeftHandSkeleton && LeftHandSkeleton.IsInitialized &&
RightHandSkeleton && RightHandSkeleton.IsInitialized;
}
return LeftHandSkeleton && LeftHandSkeleton.IsInitialized &&
RightHandSkeleton && RightHandSkeleton.IsInitialized &&
LeftHandMesh && LeftHandMesh.IsInitialized &&
RightHandMesh && RightHandMesh.IsInitialized;
}
Please let me know if you find an easier solution. In any case, I hope this will save some time for other people experiencing the same issue.