chore: remove bevy_mod_xr::actions

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-10-19 16:27:15 +02:00
parent eb3ec03d91
commit 294cd605e7
5 changed files with 15 additions and 117 deletions

View File

@@ -2,9 +2,8 @@
use bevy::{math::vec3, prelude::*};
use bevy_mod_openxr::{add_xr_plugins, helper_traits::ToQuat, resources::OxrViews};
use bevy_mod_xr::session::XrTrackingRoot;
use bevy_xr_utils::xr_utils_actions::{
ActiveSet, XRUtilsAction, XRUtilsActionSet, XRUtilsActionState, XRUtilsActionSystems,
XRUtilsActionsPlugin, XRUtilsBinding,
use bevy_xr_utils::actions::{
ActionType, ActiveSet, XRUtilsAction, XRUtilsActionSet, XRUtilsActionState, XRUtilsActionSystems, XRUtilsActionsPlugin, XRUtilsBinding
};
fn main() {
@@ -73,7 +72,7 @@ fn create_action_entities(mut commands: Commands) {
XRUtilsAction {
action_name: "flight_input".into(),
localized_name: "flight_input_localized".into(),
action_type: bevy_mod_xr::actions::ActionType::Vector,
action_type: ActionType::Vector,
},
FlightActionMarker, //lets try a marker component
))