bevy_fsm
v0.3.0Observer-driven finite state machine framework for Bevy ECS with variant-specific events and flexible validation
Profile
What problem does this crate solve?
A safe finite state machine. Instead of churning components and manually ensuring that only one state can be active at a time, variants of a single enum are used as FSM. Comes with mechanisms for observing and executing state transitions.
Features
- Transitions rule controls
- Component for per-entity override for the rules
- State enter, exit, and transition events for handling logic
- Paired with a crate for converting each variants into a separate type for event handling
Get started
The repo has some examples demonstrating use cases: Examples.
Reviews
No reviews yet. Be the first to review this crate!
Downloads
1953
Cages
0
Rating
Unrated
License
MIT OR Apache-2.0
Added by
ffmulks
Owners
ffmulks
github:molecularsadism:owners