bevy_mod_wanderlust

Crates.iobevy_mod_wanderlust
lib.rsbevy_mod_wanderlust
version0.4.0
sourcesrc
created_at2022-07-15 03:11:51.650951
updated_at2023-07-11 16:53:15.239894
descriptionA character controller library for Bevy Engine
homepagehttps://crates.io/crates/bevy_mod_wanderlust
repositoryhttps://github.com/PROMETHIA-27/bevy_mod_wanderlust
max_upload_size
id626005
size7,042,260
(PROMETHIA-27)

documentation

https://docs.rs/bevy_mod_wanderlust/*/bevy_mod_wanderlust/

README

Wanderlust

Wanderlust is a character controller addon. Inspired by this excellent video and my previous attempts at creating a character controller, it is implemented on top of Rapier physics and highly customizable.

Wanderlust does not handle mouselook, as it's more-or-less trivial to implement compared to movement, and would add significant complexity to build in as many projects will have vastly different requirements for mouselook. The first_person.rs example includes an example mouselook implementation.

To use Wanderlust, simply add the WanderlustPlugin to your App, and create an entity with the CharacterControllerBundle.

Planned Features

  • Wallrunning
  • Be more agnostic to up-vectors
  • More examples
    • 2D
    • Mario-Galaxy-style planetoids
    • Moving platforms
  • Fix various jitter issues

Potential Features

  • Become agnostic to physics backend?
  • Dashing?
  • Ledge grappling?
  • Input rework?
  • More bundles for different common configurations?

Contributions

Wanderlust is intended to cover nearly every possible use case of a character controller, so if your use case is not supported (or there's a feature you would like to see) please drop an issue on the repository! PRs are also welcome, but I may not accept all PRs. Open an issue first if you're not certain that I would accept.

Examples

The first_person.rs example which shows a simple character controller setup. The starship.rs example which shows a simple spaceship controller setup.

Dual-licensed under MIT OR Apache 2.0.

Commit count: 204

cargo fmt