Files
bevy_oxr/README.md
Schmarni 65a30cac3c make app close when requested by os and other stuff (#61)
* idk

* mr stuff

* done

* fix windows

* add patches to Readme
2023-12-31 15:35:59 -08:00

1.0 KiB

Bevy OpenXR

An in-progress crate for adding openxr support to Bevy without forking. image

To see it in action run the example in examples with cargo run --example xr

Troubleshooting

  • Make sure, if you're on Linux, that you have the openxr package installed on your system.
  • I'm getting poor performance.
    • Like other bevy projects, make sure you're building in release (example: cargo run --example xr --release)

Recommendations

for now we recommend you to add the folowing to your root Cargo.toml

[patch.crates-io]
ndk = { git = "https://github.com/Schmarni-Dev/ndk.git", branch = "070" }
ndk-sys = { package = "ndk-sys", git = "https://github.com/Schmarni-Dev/ndk.git", branch = "070" }
ndk-context = { package = "ndk-context", git = "https://github.com/Schmarni-Dev/ndk.git", branch = "070" }
bevy_pbr = { package = "bevy_pbr", git = "https://github.com/MalekiRe/bevy", branch = "release-0.12.1" }