Skip to content
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

Locked aim sprint issue #157

Open
DoctorVerum opened this issue Sep 25, 2024 · 1 comment
Open

Locked aim sprint issue #157

DoctorVerum opened this issue Sep 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DoctorVerum
Copy link

Describe the bug

When in a locked aim state, sprinting sometimes does not trigger correctly. From what I can tell this happens particularly when moving diagonally or when moving sideways before trying to sprint, as well as when turning the camera rapidly before sprinting. This issue sometimes persists until force aim state is disabled.

Reproduce

Steps to reproduce the behavior:

  1. Shift camera state to force aim (i.e. with the player turning towards the crosshair), either by holding the "force aim" control or setting the camera to that state
  2. Either move diagonally, sideways or turn the camera rapidly to either side before sprinting
  3. This frequently leads to sprinting becoming disabled, either until I stop moving and try to sprint again, or occasionally until I exit the force aim state

Expected behavior

I expect sprinting to not stop working, and for the sprint button to allow sprinting regardless of aim state.

Additional context

This issue stops immediately when turning off the force aim camera state and does not occur in any other camera state (both third and first person). It is most easily reproduced by moving diagonally, then pressing the sprint key and trying to sprint forwards, which usually does not work. I personally suspect this has to do with the mod treating the player as if they are moving sideways even when moving forwards shortly after having moved sideways.

Is this issue related to the "sprint impulse threshold" option? I am not sure what that option means.

@DoctorVerum DoctorVerum added the bug Something isn't working label Sep 25, 2024
@kkempfer
Copy link

I feel that I face a similar issue, thus commenting here.

Minecraft: 119.2
Mod Loader: Fabric 0.16.9

I updated the Leawind's Third Person mod from version 2.0.7 to 2.2.0. Since the udpate, I lost the ability to sprint in third person view. With version 2.0.7, I can sprint by double clicking then pressing the Z button on my keyboard in both first and third person.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants