Commit Graph

168 Commits

Author SHA1 Message Date
Schmarni
265696b07d Add Vec2Conv helper and Display warning with message when openxr fails to load (#58)
* add support for Vec2 Actions, slightly changed the way actions are created but no functionality change and changed the get_action_* return result to a custom error

* Whoops

* added warning with error when openxr fails to load and added Vec2Conv helper

* made it possible for the user to spawn OpenXRTrackingRoot
2023-12-13 21:25:17 -08:00
Schmarni
248d160ae5 add support for Vec2 Actions, slightly changed the way actions are created but no functionality change and changed the get_action_* return result to a custom error (#57) 2023-12-11 16:26:55 -08:00
Schmarni
2e492e120c made setup_xr public (#56)
* made setup_xr public

* made the action syncing system public too
2023-12-11 13:07:46 -08:00
Schmarni
900d4fe725 Make ActionType Copy 2023-12-11 19:52:40 +01:00
Schmarni
ae8c5ef185 update XrSetup Scheduling to allow other plugins to run before in Startup 2023-12-11 19:24:33 +01:00
Schmarni
b59e5be083 change type of pretty_name for ActionSets and Actions 2023-12-11 19:22:21 +01:00
Oli Scherer
7947dd097c Enable locomotion to handle arbitrary rotations of the view space (#49)
* Enable locomotion to handle arbitrary rotations of the view space

Previously it assumed that "up" was always the Y axis

* Eliminate jitter

---------

Co-authored-by: Oliver Scherer <github@oli-obk.de>
2023-12-10 00:12:25 -08:00
Schmarni
786fb4fe9f fixed controllers (#54)
* basics done? now to the fun part: changing the ENTIRE lib to work with xr and non xr

* updated stuff and renamed file

* actually add the renamed file into git lol :3

* made lib fallback to flat when no runtime is found but can't compile with default settings under those circumstances

* Update Cargo.toml

* fixed version conflict

* ununcommented the action sync system and changed other small stuff
2023-12-09 15:36:01 -08:00
Schmarni
28008f7964 Fallback to flat when no oxr runtime is found (#51)
* basics done? now to the fun part: changing the ENTIRE lib to work with xr and non xr

* updated stuff and renamed file

* actually add the renamed file into git lol :3

* made lib fallback to flat when no runtime is found but can't compile with default settings under those circumstances
2023-12-08 21:09:48 -08:00
Jay Christy
b2f28a9753 fixed some debug gizmos 2023-11-21 13:59:43 -05:00
Jay Christy
c4c8308d34 more fixin 2023-11-21 13:54:09 -05:00
Jay Christy
e2b506181a xr controller update now handles no controller entities 2023-11-21 13:43:01 -05:00
Jay Christy
47a5aa0daa updates to check for controller entities in emulated hand tracking 2023-11-21 13:34:23 -05:00
Schmarni
f47375b97d Made Thumb Way less aggressive when touching using hand pose emulation 2023-11-20 19:24:11 +01:00
Schmarni
4fae7f4e7c removed unused workaround 2023-11-17 00:06:55 +01:00
Schmarni
200be97846 Small cleanup, and moved hand.rs to hands/common.rs 2023-11-16 21:26:49 +01:00
Schmarni
fe15e89acd slight cleanup 2023-11-16 06:27:20 +01:00
Schmarni
5b443c3b35 Done 2023-11-16 06:09:36 +01:00
Schmarni
851c7b7587 fixed merge conflicts 2023-11-16 03:09:42 +01:00
Schmarni
53ba18c157 commit xr_input module 2023-11-16 02:52:27 +01:00
Schmarni
86a7bf7317 make hands default back to Handtracking if the extension is available 2023-11-14 02:45:29 +01:00
Schmarni
e5363acac9 finnish everything 2023-11-14 02:32:57 +01:00
Schmarni
74e4e0c3b7 Updated Oculus controller to use the 2023-11-10 21:57:01 +01:00
Schmarni
ca15cb7cda Updated Oculus controller to use the 2023-11-10 21:56:03 +01:00
Schmarni
1db2cb2dd7 Finallygit add src/xr_input/actions.rs src/xr_input/mod.rs 2023-11-10 13:38:40 +01:00
Jay Christy
c93127f24c fixed a few things 2023-11-08 15:02:49 -05:00
Jay Christy
966df736d7 also change the resource based on ext 2023-11-08 14:27:53 -05:00
Jay Christy
de0807d308 only add hand resource if we support the ext 2023-11-08 14:21:03 -05:00
Schmarni
c488e1feb6 lets not brake the code 2023-11-08 02:49:07 +01:00
Schmarni
ef9e20b7d5 minimal clean up 2023-11-08 02:47:10 +01:00
Schmarni
e401554c97 removed unnecessary openxr extension 2023-11-08 02:42:18 +01:00
Schmarni
979c2fdd40 copied src from Schmarni-Dev/bevy_openxr:demo 2023-11-08 02:38:56 +01:00
Schmarni
e20c38c5db stuff 2023-11-08 02:31:11 +01:00
Malek
e1fb77b941 Merge pull request #29 from DanielQuick/ignore-panic-when-removing-headset
Ignore end_frame error
2023-11-07 11:58:33 -08:00
DanielQuick
19f4741cef warn instead of ignoring error 2023-11-07 13:46:44 -06:00
DanielQuick
42adcea19e ignore end_frame error 2023-11-07 11:29:16 -06:00
Schmarni
78b0c39228 Merge branch 'hand_refactor' into demo 2023-11-07 03:51:19 +01:00
Schmarni
2ad718c633 Merge pull request #2 from awtterpip/main
pull stuff from main
2023-11-07 03:21:31 +01:00
Jay Christy
566377de2a Merge branch 'main' into demo 2023-11-06 15:44:13 -05:00
Charlton Rodda
0880d3cf2d Implement get_frustum_corners 2023-11-04 21:17:54 +00:00
Schmarni
538000899c started hand (and probably slight openxr extension) refactor. :3 2023-11-04 17:26:30 +01:00
Schmarni
ccd505051d slightly buggy but fully working hand tracking 2023-11-01 21:10:34 +01:00
Schmarni
4c01eee827 Basic Handtracking Working 2023-11-01 18:37:32 +01:00
Schmarni
c7e10bb537 Merge pull request #1 from awtterpip/main
xr_wait_frame lock match instead of unwrap
2023-10-31 23:36:57 +01:00
Schmarni
88c6b601e5 remove sleep call and remove runtime libs from git repo 2023-10-27 23:06:13 +02:00
Schmarni
5cd0f906b9 fix diff 2023-10-27 19:58:02 +02:00
Schmarni
c982f0f658 added files do build android? 2023-10-27 19:53:59 +02:00
Jay Christy
671a947657 added the other metacarpals 2023-10-25 16:54:17 -04:00
Alexi Chepura
d2ccad9f46 xr_wait_frame lock match instead of unwrap 2023-10-24 16:42:39 +03:00
Jay Christy
b9118becfc added ugly exclusive grabbing 2023-10-22 15:22:09 -04:00