added ugly exclusive grabbing

This commit is contained in:
Jay Christy
2023-10-22 15:22:09 -04:00
parent f867b1290b
commit b9118becfc
2 changed files with 65 additions and 24 deletions

View File

@@ -42,6 +42,16 @@ impl Default for XRInteractorState {
XRInteractorState::Idle
}
}
#[derive(Component)]
pub enum XRSelection {
Empty,
Full(Entity)
}
impl Default for XRSelection {
fn default() -> Self {
XRSelection::Empty
}
}
#[derive(Component)]
pub struct XRInteractable;