This is a little flight sim made in Bevy.
- Support for both keyboard and gamepad (gamepad is recommended).
- Terrain with real-world elevation data and collisions.
- Loading data from glTF with custom properties.
- 3D cockpit.
- Collisions using
avian3dand the flight dynamics model crate.avian_fdm. - Water with screen space reflections.
- A settings file -
settings.json.
- Rust toolchain: Install Rust
-
Clone the repository
git clone https://github.com/wesfly/bevy_fs.git && cd bevy_fs
-
Build and run the project
cargo run --release
This will build and launch
bevy_fs. The first startup fetches terrain data and can take some time.
Terrain data will be stored in the .user/cache/ folder after the first fetch
(the game window will be unresponsive while fetching). To change the coordinates
or the resolution, change terrain.coordinates or terrain.level_of_detail in
the settings. Note that the general maximum level of detail is 15, but in most
regions 14 or even less. Here is an interactive map for different resolutions:
https://mapterhorn.com/coverage
Note that high resolutions will result in high RAM usage, to tackle this issue, turn down the maximum render distance in the settings.
You can start the engines by pressing M. If you now bring the throttle to
100%, you will start flying.
You will start in the air with the engine already on, you just need to throttle up.
Press P to unpause the sim.
F3to take a screenshot (output:screenshots/user)ESCto return to menuHJKLto control the sun position
RMB + dragto orbit cameraCto switch the camera view- Mouse wheel to zoom camera
Rto reset camera
Gto raise or lower landing gearZto brake=to toggle parking brake1for position lights2for strobe lights3for formation lights4for anti-collision lights
You can change the steering device in the settings.
- Left stick to throttle and yaw
- Right stick to pitch and roll
- Left stick to steer
DPadUpandDPadDownto throttle up and down respectively
WASDQEto steerPgUpandPgDownto throttle up and down respectively
Error downloading object: <some object>: Smudge error: Error downloading <some file path>: [<some commit>] Not Found: [404] Not FoundGIT_LFS_SKIP_SMUDGE=1 git reset --hard HEAD
git clean -fd
git lfs pull # You might need to download git-lfs firstPRs welcome.
If you have any problems regarding this repository, please report them as an issue. Thank you!


