- cross-posted to:
- projectharmonia
- cross-posted to:
- projectharmonia
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
SmoothDelta
modifier 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.
You must log in or register to comment.