bevy_fps_controller

Crates.iobevy_fps_controller
lib.rsbevy_fps_controller
version16.1.0
created_at2022-08-08 19:35:19.567813+00
updated_at2025-08-31 22:02:46.13897+00
descriptionBevy plugin that adds a Source engine inspired FPS movement controller
homepage
repositoryhttps://github.com/qhdwight/bevy_fps_controller
max_upload_size
id641008
size1,362,243
Quintin (qhdwight)

documentation

README

Rust crates.io

Bevy FPS Controller

Inspired from Source engine movement, this plugin implements movement suitable for FPS games.

Feel free to make issues/PRs!

Features

  • Air strafing
  • Bunny hopping if the jump key is held down
  • Moving along sloped ground
  • Crouching and sprinting
  • Crouching prevents falling off ledges (Rapier only)
  • Instantly clear small steps (Rapier only)
  • Noclip mode
  • Configurable settings

Examples

See minimal_rapier.rs or minimal_avian.rs

Make sure to enable either the rapier or avian feature in Cargo.toml depending on what your backing physics engine is.

cargo run --release --features rapier --example minimal_rapier

Demo

https://user-images.githubusercontent.com/20666629/221995601-2ec352fe-a8b0-4f8c-9a81-beaf898b2b41.mp4

Used by my other project: https://github.com/qhdwight/voxel-game-rs

Commit count: 44

cargo fmt