Flag to remove view bobbing with NOGRAVITY for players
Moderator: GZDoom Developers
Flag to remove view bobbing with NOGRAVITY for players
Currently the only way to remove this is to go into noclip2 mode, which obviously comes with the effect of going through walls. I'd like a flag to force this behaviour off, perhaps PLAYERPAWN.NOFLYBOBBING.
-
- Posts: 111
- Joined: Wed Jun 15, 2016 2:49 pm
Re: Flag to remove view bobbing with NOGRAVITY for players
Is Bob not virtualized?
Re: Flag to remove view bobbing with NOGRAVITY for players
Bob doesn't handle this, I've checked and the passive fly bobbing is hard coded into the C++.
-
- Posts: 111
- Joined: Wed Jun 15, 2016 2:49 pm
Re: Flag to remove view bobbing with NOGRAVITY for players
I'd prefer for it to be virtualized rather than adding a flag and leaving it hard-coded, but we could possibly have both.Gutawer wrote:Bob doesn't handle this, I've checked and the passive fly bobbing is hard coded into the C++.
- nazakomu
- Posts: 131
- Joined: Wed Nov 30, 2016 12:51 am
- Graphics Processor: nVidia with Vulkan support
Re: Flag to remove view bobbing with NOGRAVITY for players
I'm in favor of this stuff being externalized as well. Almost invariably, exposing things like this to scripting is the way to go.
Re: Flag to remove view bobbing with NOGRAVITY for players
Sorry for bumping, but while coding my flying PlayerPawn replacement I realized that there is no way to disable passive view bobbing through ZScript, so I need this feature too.
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Flag to remove view bobbing with NOGRAVITY for players
I really do need this too. If no one else wants to write a PR I'll do it.
Re: Flag to remove view bobbing with NOGRAVITY for players
I would like to see this feature as well. Allows for coding slow aircraft like helicopters-
- Zenon
- Posts: 530
- Joined: Thu Apr 20, 2006 6:05 pm
- Graphics Processor: nVidia with Vulkan support
- Location: New Zealand
Re: Flag to remove view bobbing with NOGRAVITY for players
This flag would help as an accessibility function for those with vertical motion-sickness while using the wings of wrath, etc.