What is the preferred way to enable/disable hand tracking during an experience?

See topic. Hand tracking is not required for the entire experience, so to gain performance we would like to disable/enable the feature at runtime. Is it possible? Any suggestion is appreciated.

Note:

  • xrhand and xrweb cannot be used at the same time.
  • xrhand and xrlayers cannot be used at the same time.
  • xrhand and xrface cannot be used at the same time.

If you want to swap between hand tracking and another kind of tracking, you will need to remove xrhand and add one of the other components (i.e. xrweb). This will not refresh the webpage, but it will restart the AR engine (show the loading screen again briefly, unless you cover it up with your own UI).

1 Like

This is helpful, thanks for the explanation.

1 Like

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.