Commit Graph

223 Commits

Author SHA1 Message Date
Schmarni
cee1b92d50 downgrade to OpenXR 1.0 to accommodate legacy runtimes like SteamVR
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-01-03 21:59:20 +01:00
Schmarni
336c40d555 switch all spans to debug_spans
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-01-01 03:38:46 +01:00
Schmarni
7c57e8facd actually use the spans we create
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-01-01 03:36:56 +01:00
Schmarni
8042fbdc6a prevent crash that i can't explain when not using default plugins
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-29 23:26:06 +01:00
Schmarni
177da5c10d fix tracking_utils example
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-21 02:32:04 +01:00
Schmarni
869fd98d7f update hand gizmos to include the local axes
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-20 03:54:28 +01:00
Schmarni
f2706b1416 pull main branch
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-19 16:58:00 +01:00
Schmarni
361199e2c4 fix hand tracker spawn side bug
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-14 02:01:31 +01:00
Schmarni
8c5da2e505 bump version
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-11 23:07:25 +01:00
ForTehLose
5b7db58fe6 making controller actions fields pub so users can use them 2024-12-04 14:03:31 -05:00
ForTehLose
a260443a0d adding a missed change 2024-12-04 13:55:27 -05:00
ForTehLose
c0be012b9d moved default bindings for tracking utils into a pub function for prototyping, while I work on better solution 2024-12-04 13:51:43 -05:00
Schmarni
2c75a298a3 remove bevy rc workaround
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:20:23 +01:00
Schmarni
8e4d5d8dd0 update to bevy release, fix event support and update extension list
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:20:19 +01:00
Schmarni
307bba3323 more required components and other stuff
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
a04ebb8426 add XrTracker component that auto parents the entity to the XrTrackingRoot, XrSpace requires XrTracker
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
d1cc160cac only render hand gizmos if they are actively tracked
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
4c415d066a remove XrCameraBundle, use required components and component hooks instead
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
7320ae8dac update to bevy 0.15 rc
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
bc0c1c472b make OxrEvent less unsound
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-11-30 01:16:17 +01:00
Schmarni
5239700eca feat: implement event handlers for OpenXR events so that plugins can handle events without needing to modify bevy_mod_openxr
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-11-29 23:45:02 +01:00
Schmarni
6666339134 fix ci(hopefully) and fix suboptimal behavior in bevy_xr_utils
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-21 23:32:59 +02:00
Schmarni
da659899d4 add simple ci and allow annoying lints
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-21 23:18:30 +02:00
Schmarni
81b65c4718 move spawn_hand_bones from openxr to xr and add spawn handtracker command
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-21 22:30:50 +02:00
Schmarni
ac972dd475 implement xr flags for hands
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-19 00:33:22 +02:00
Schmarni
20f8c47aba add space flags to bevy_mod_xr
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-19 00:22:10 +02:00
Schmarni
616bfff672 add openxr specific session running and available conditions
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-10-18 23:43:39 +02:00
Schmarni
6a58673605 clear space flags when handtracking data gathering fails
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-09-30 04:38:05 +02:00
Schmarni
bd5afffca5 cleanup 2 electric boogaloo
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-09-05 21:05:07 +02:00
Schmarni
ff08bcaa8a cleanup
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-09-05 21:02:52 +02:00
Schmarni
60cf52056d fix session destroying and move to atomic bool instead of a flag resource
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-09-05 20:38:33 +02:00
ForTehLose
702745a3b1 Merge pull request #153 from awtterpip/common_tracked_entities
Common tracked entities utils
2024-09-03 22:13:04 -04:00
ForTehLose
5c0a68019d removed uneeded redirections 2024-09-03 22:10:18 -04:00
ForTehLose
ec14bf82c9 used OxrSpaceSyncSet instead of system itself 2024-09-03 20:16:50 -04:00
ForTehLose
667c6092a7 changed to spatial bundle default 2024-09-03 20:14:48 -04:00
ForTehLose
ac1364f4a6 renamed public components 2024-09-03 20:13:49 -04:00
ForTehLose
0e2be1740f Update crates/bevy_xr_utils/src/lib.rs
Co-authored-by: Schmarni <51007916+Schmarni-Dev@users.noreply.github.com>
2024-09-03 20:11:30 -04:00
ForTehLose
aa4e5d333b renamed a few things 2024-09-03 15:33:30 -04:00
ForTehLose
b16b559c94 renamed example 2024-09-03 15:32:39 -04:00
ForTehLose
cd14a2455b added yaw to local floor 2024-09-03 15:32:04 -04:00
ForTehLose
1f016501f3 small fixes 2024-09-03 15:20:13 -04:00
ForTehLose
f30c590cc7 refactored grips as well 2024-09-03 15:13:08 -04:00
ForTehLose
fa9b797610 refactor stage, hmd, and local floor 2024-09-03 14:52:49 -04:00
ForTehLose
d0f2b01a06 added an emulated local floor 2024-09-03 14:05:45 -04:00
ForTehLose
6aadf5bd3e copied work from actions 2024-09-03 13:13:00 -04:00
Schmarni
2c293ce7a0 Merge pull request #147 from Schmarni-Dev/build_script_and_pico
add android build script and pico support
2024-08-21 21:43:57 +02:00
ForTehLose
f9bb16c34c Merge pull request #150 from awtterpip/shadow_maps
added system for cascading shadow maps
2024-08-21 14:11:49 -04:00
ForTehLose
120c245ee3 Merge pull request #145 from Schmarni-Dev/fix_green_finger
change ring finger color back to the same green as before bevy update
2024-08-21 14:10:25 -04:00
ForTehLose
0e6330d313 added system for cascading shadow maps 2024-08-16 16:12:34 -04:00
Schmarni
cfdb6189ac add build script to auto download khronos loader for android
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-28 01:58:08 +02:00