How to Detect if A Controller Is Using Hand Tracking

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stormreaver

Should "res://addons/godot_ovrmobile/OvrHandTracking.gdns" be loaded as an autoload, or should it be loaded as the result of the tracker_added signal?

Also, how do I determine if a Quest/Quest 2 is in hand tracking mode?

:bust_in_silhouette: Reply From: stormreaver

The answer is rather simple: In the ARVRServer tracker_added and tracker_removed signal handlers, check for "Oculus Tracked Left Hand" and "Oculus Tracked Right Hand", respectively. Those will determine whether the Quest is in hand tracking mode or controller tracking mode.