generated from Leafwing-Studios/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Triple axis not being mapped correctly from keyboard dpad 3d #643
Labels
bug
Something isn't working
Comments
Oops, that was a bug. I fixed it in pull request #623 Should we release a 0.15.2 patch to include this? |
And forward is the negative direction of the Z-axis in Bevy, so it should be |
Thanks, @Shute052! Just tried out the main branch and it works 👍 |
IMO we're close to a 0.16 launch for the new Bevy version: let's do that instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
0.15.1
Operating system & version
MacOS 15
What you did
Add a triple axis to an
InputMap
What you expected to happen
Values recieved from
clamped_axis_triple
should correctly map keys to floats. E.g:'A' = vec3(-1.0, 0.0, 0.0)
'E' = vec3(0.0, 1.0, 0.0)
'W' = vec3(0.0, 0.0, 1.0)
What actually happened
The
Y
axis is mapped correctly, but theX
is mapped to bothX
andZ
and theZ
inputs are ignored entirely. So:'A' = vec3(-1.0, 0.0, -1.0)
'E' = vec3(0.0, 1.0, 0.0)
'W' = vec3(0.0, 0.0, 0.0)
The text was updated successfully, but these errors were encountered: