🎮 Bevy Enhanced Input 0.6.0 is out!
1y 5mon ago by lemmy.ml/u/Shatur in bevy@programming.dev from github.com
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.