A hello world for bevy XR.
To run the code:
cargo run -p openxr-6dof
Download the oculus sdk and place OpenXR/Libs/Android/arm64-v8a/Release/libopenxr_loader.so
into the rumtime_libs/arm64-v8a/
folder.
Install xbuild
. It is very important to pass --git:
cargo install xbuild --git https://github.com/rust-mobile/xbuild
Plug in headset to PC, allow usb debugging, and then:
adb connect <device_ip> # Optional, allows wireless debugging
x devices # ensure your device is listed
x run --device <device_id_from_above> -p openxr-6dof --release