Page 1 of 1
Flag to remove view bobbing with NOGRAVITY for players
Posted: Fri Oct 27, 2017 12:01 pm
by Gutawer
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.
Re: Flag to remove view bobbing with NOGRAVITY for players
Posted: Wed Nov 01, 2017 7:27 pm
by ZippeyKeys12
Is Bob not virtualized?
Re: Flag to remove view bobbing with NOGRAVITY for players
Posted: Thu Nov 02, 2017 1:09 am
by Gutawer
Bob doesn't handle this, I've checked and the passive fly bobbing is hard coded into the C++.
Re: Flag to remove view bobbing with NOGRAVITY for players
Posted: Thu Nov 02, 2017 12:18 pm
by ZippeyKeys12
Gutawer wrote:Bob doesn't handle this, I've checked and the passive fly bobbing is hard coded into the C++.
I'd prefer for it to be virtualized rather than adding a flag and leaving it hard-coded, but we could possibly have both.
Re: Flag to remove view bobbing with NOGRAVITY for players
Posted: Sat Nov 04, 2017 1:05 am
by nazakomu
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
Posted: Sun Jun 16, 2019 12:51 am
by cybermind
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.
Re: Flag to remove view bobbing with NOGRAVITY for players
Posted: Sat Jul 20, 2019 7:07 am
by Marisa the Magician
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
Posted: Mon Sep 16, 2019 10:32 pm
by Cherno
I would like to see this feature as well. Allows for coding slow aircraft like helicopters-
Re: Flag to remove view bobbing with NOGRAVITY for players
Posted: Thu Jun 18, 2020 12:31 am
by Zenon
This flag would help as an accessibility function for those with vertical motion-sickness while using the wings of wrath, etc.