Commit Graph

522 Commits

Author SHA1 Message Date
awtterpip
4df8b38302 add comment 2023-12-27 20:09:45 -06:00
awtterpip
b43f875b3b add doc comments 2023-12-27 20:03:41 -06:00
awtterpip
660dd32d84 api changes 2023-12-27 19:20:59 -06:00
awtterpip
fd5323069f api changes 2023-12-27 19:04:21 -06:00
awtterpip
ffa9e6d080 move to api crate 2023-12-26 14:20:22 -06:00
Schmarni
fcedb9c0c8 do not compile openxrs for wasm32 (#59) 2023-12-14 22:09:07 -08:00
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
45f5d8c461 Merge pull request #55 from Schmarni-Dev/action_updates
Small Changes to make Creating Crates that interact with the action system easier
2023-12-11 20:29:11 +01:00
awtterpip
037f719329 begin refactor 2023-12-11 12:59:37 -06: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
e0c9d88767 fixed version conflict (#53)
* 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
2023-12-09 15:07:25 -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
Malek
d9ebd5bf0c Merge pull request #47 from aMySour/patch-1
Update Cargo.toml to change bevy_openxr to bevy_oxr in GitHub link
2023-12-02 13:14:37 -08:00
asour
7d7fdb61e9 Update Cargo.toml to change bevy_openxr to bevy_oxr in GitHub link 2023-11-22 08:05:09 -04:00
Malek
1cf866324b Merge pull request #46 from ForTehLose/optionalControllers
Optional controllers
2023-11-21 11:43:47 -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
ForTehLose
44b9e02130 Merge pull request #43 from ForTehLose/improved_interactions
Improved interactions
2023-11-20 14:06:39 -05:00
Jay Christy
7d3ea85c3d tiny clean up 2023-11-20 13:59:36 -05:00
Malek
f76e81c0e0 Merge pull request #41 from Schmarni-Dev/hand_refactor
Hand refactor
2023-11-20 10:28:22 -08:00
Schmarni
f47375b97d Made Thumb Way less aggressive when touching using hand pose emulation 2023-11-20 19:24:11 +01:00
Schmarni
cc4d33a8f3 removed some files 2023-11-18 00:12:40 +01:00
Schmarni
4fae7f4e7c removed unused workaround 2023-11-17 00:06:55 +01:00
Schmarni
2d4d7f5c7f Pull main 2023-11-16 21:32:17 +01:00
Schmarni
200be97846 Small cleanup, and moved hand.rs to hands/common.rs 2023-11-16 21:26:49 +01:00
ForTehLose
2f91b5cbb1 Merge pull request #40 from Schmarni-Dev/actions_rework
Rework the oxr action system
2023-11-16 13:44:53 -05: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
Jay Christy
0f838074b1 git 2023-11-12 00:51:41 -05: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
Malek
76715755f0 Merge pull request #38 from TheButlah/improve-android-example
Improved android example
2023-11-09 13:29:53 -08:00
Ryan Butler
71e3f04973 Improved android example 2023-11-09 02:10:15 -05:00
ForTehLose
9186f92883 Merge pull request #37 from ForTehLose/optionalHands
only add hand resource if we support the ext
2023-11-08 16:19:29 -05:00
ForTehLose
02cbbccf5e Merge pull request #34 from Schmarni-Dev/lib_rs
Added Android Support to demo
2023-11-08 16:18:14 -05: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