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

[Bug]: Vehicle Fly does not work in first person. #2984

Closed
2 tasks done
gir489returns opened this issue Apr 27, 2024 · 1 comment · Fixed by #2991
Closed
2 tasks done

[Bug]: Vehicle Fly does not work in first person. #2984

gir489returns opened this issue Apr 27, 2024 · 1 comment · Fixed by #2991
Labels
bug Something isn't working

Comments

@gir489returns
Copy link
Contributor

Describe the bug

Due to the camera being semi-locked when in a vehicle, the car basically spins around while vehicle fly is enabled. There should be a check to see if the player is in first-person while vehicle fly is enabled, and either disable it, warn them, both or just silently do nothing.

Steps To Reproduce

Enable Vehicle Flymode.
Enter first person view.
Enter vehicle.
Bug occurs.

Expected Behavior

TBD

Logs

image

It's better than bad, it's good!

Screenshots / Video

Watch the video

Store

Steam

Language

English

YimMenu Language

English (US)

Additional context

No response

Build

  • I've confirmed the issue exists on the latest version of YimMenu

Coload

  • I've tested this without co-loading anything.
@gir489returns gir489returns added the bug Something isn't working label Apr 27, 2024
@rkwapisz
Copy link
Contributor

It seems that the gameplay camera rotation returned by GET_GAMEPLAY_CAM_ROT is relative to the vehicle's rotation when in first person. It's similar to how some old flight sims behaved with mouse controls... you'd move your mouse cursor to some point on the screen and your ship would "chase" the cursor. In this case, we are at a disadvantage because we have no cursor that can be used as a reference to manually adjust your vehicle's heading.

I've tried clamping the rate at which the vehicle's heading changes with some success, so it doesn't yeet you around at 5,000,000RPM, but it still feels super floaty and generally unpleasant.

I think we should just disable this feature when in first-person mode.

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
2 participants