{"repo":"sburris0/bevy_flycam","free":true,"listed":false,"github":"https://github.com/sburris0/bevy_flycam","clone":"git clone https://github.com/sburris0/bevy_flycam.git","description":"Basic first-person fly camera for the Bevy game engine","language":"Rust","stars":221,"topics":["bevy","bevy-engine","firstperson","3d"],"license":"ISC","category":"game-templates","readme_excerpt":"bevy flycam A basic first-person fly camera for Bevy Controls - WASD to move horizontally - SPACE to ascend - LSHIFT to descend - ESC to grab/release cursor. Comparison There are a few notable differences from bevy fly camera... - No linear interpolation - Cursor grabbing - Shorter code - Single-line setup - A tiny bit faster? Usage 1. Add to Cargo.toml or copy lib.rs to your own file or 2. Include the prelude: 3. Add the PlayerPlugin : Note that PlayerPlugin will spawn a camera for you. See Using your own camera for details on how to use a pre-existing one. Alternatively you can see the example basic.rs or scroll.rs located in the examples folder. You can run the example by cloning this repository and run the command: cargo run --release --example basic Customization Movement and keybindings To modify player movement speed or mouse sensitivity add it as a resource. Same thing goes for the keybindings used for moving the camera. Using your own camera You can also use NoCameraPlayerPlugin if you want to use your own camera. Be sure to add the FlyCam component to your own camera or else this plugin won't know what to move. Support bevy flycam's crate version follows bevy's minor version as shown: bevy bevy flycam :-- :-- 0.19.0 0.19.0 0.18.0 0.18.0 0.17.2 0.17.2 0.16.1 0.16.1 0.15.0 0.15.0 0.14.0 0.14.0 0.13.0 0.13.0 0.12.0 0.12.0 0.11.0 0.11.0 0.10.1 0.10.1 Contributing PRs are very welcome. If you are updating to a new version of Bevy, please also update the README and test t","default_branch":null,"files":null,"tree":[],"storefront":"/r/sburris0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sburris0/bevy_flycam/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}