Forum Discussion
FRIGEL-
4 years agoHonored Guest
Is there a way to know if the controllers are being tracked using the Quest 2's infrared cameras.
Simply put, is there a way to know if the controllers are being tracked using the Quest 2's infrared cameras.
I have tried simply checking if the positions of the controllers change over time. As in theory, this would tell you if they were being tracked. However it seems the Quest 2 will try to interpolate 3d positional movement based on the controller rotation, which is somewhat unhelpful for my application.
- Anonymous4 years ago
If you're using OVRInput this method should work:
public static bool GetControllerPositionTracked(OVRInput.Controller controllerType)
If you're using Unity's Legacy XR Input this should provide similar data:
if (device.TryGetFeatureValue(CommonUsages.isTracked, out bool isTracked)) {
}And if you're using Unity's "new" Input System, there's an "isTracked" action you can add to your Input Actions mapping.
1 Reply
Replies have been turned off for this discussion
- Anonymous
If you're using OVRInput this method should work:
public static bool GetControllerPositionTracked(OVRInput.Controller controllerType)
If you're using Unity's Legacy XR Input this should provide similar data:
if (device.TryGetFeatureValue(CommonUsages.isTracked, out bool isTracked)) {
}And if you're using Unity's "new" Input System, there's an "isTracked" action you can add to your Input Actions mapping.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 2 years ago