🎮 Bevy Enhanced Input 0.6.0 is out!
🎮 Bevy Enhanced Input 0.6.0 is out!
github.com
Release Bevy Enhanced Input 0.6.0 · projectharmonia/bevy_enhanced_input
Changed Replace SmoothDelta modifier with SmoothNudge. It uses StableInterpolate::smooth_nudge, which properly interpolates inputs across frames. Rename InputContext::get into InputContext::get_co......
It's a crate for dynamic and contextual input mappings for Bevy, inspired by Unreal Engine Enhanced Input.
It's a small release. I'm quite happy with the API, just wanted to make a few adjustments. Here are some highlights:
- Replace
SmoothDeltamodifier withSmoothNudge. It usesStableInterpolate::smooth_nudge, which properly interpolates inputs across frames. - Remove
InputContext::MODE. All contexts now work likeInputContext::Exclusive(the default). If you want to share the same input across multiple entities, use a separate "controller" entity for a context and apply inputs to the desired entities. This approach is more efficient and explicit, so it's not worth having a special case in the crate for it.
See the changelog for more details.