added tracker markers and change detection

This commit is contained in:
Jay Christy
2023-09-24 01:34:20 -04:00
parent 9e69777a45
commit 8cea603cb5
5 changed files with 172 additions and 37 deletions

18
src/xr_input/trackers.rs Normal file
View File

@@ -0,0 +1,18 @@
use bevy::prelude::Component;
#[derive(Component)]
pub struct OpenXRTrackingRoot;
#[derive(Component)]
pub struct OpenXRTracker;
#[derive(Component)]
pub struct OpenXRLeftEye;
#[derive(Component)]
pub struct OpenXRRightEye;
#[derive(Component)]
pub struct OpenXRHMD;
#[derive(Component)]
pub struct OpenXRLeftController;
#[derive(Component)]
pub struct OpenXRRightController;
#[derive(Component)]
pub struct OpenXRController;