Flag to remove view bobbing with NOGRAVITY for players

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Gutawer
Posts: 469
Joined: Sat Apr 16, 2016 6:01 am
Preferred Pronouns: She/Her

Flag to remove view bobbing with NOGRAVITY for players

Post 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.
ZippeyKeys12
Posts: 111
Joined: Wed Jun 15, 2016 2:49 pm

Re: Flag to remove view bobbing with NOGRAVITY for players

Post by ZippeyKeys12 »

Is Bob not virtualized?
User avatar
Gutawer
Posts: 469
Joined: Sat Apr 16, 2016 6:01 am
Preferred Pronouns: She/Her

Re: Flag to remove view bobbing with NOGRAVITY for players

Post by Gutawer »

Bob doesn't handle this, I've checked and the passive fly bobbing is hard coded into the C++.
ZippeyKeys12
Posts: 111
Joined: Wed Jun 15, 2016 2:49 pm

Re: Flag to remove view bobbing with NOGRAVITY for players

Post 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.
User avatar
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

Post 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.
cybermind
Posts: 64
Joined: Mon Jan 03, 2011 3:33 pm

Re: Flag to remove view bobbing with NOGRAVITY for players

Post 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.
User avatar
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

Post by Marisa the Magician »

I really do need this too. If no one else wants to write a PR I'll do it.
User avatar
Cherno
Posts: 1309
Joined: Tue Dec 06, 2016 11:25 am

Re: Flag to remove view bobbing with NOGRAVITY for players

Post by Cherno »

I would like to see this feature as well. Allows for coding slow aircraft like helicopters-
User avatar
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

Post by Zenon »

This flag would help as an accessibility function for those with vertical motion-sickness while using the wings of wrath, etc.
Post Reply

Return to “Feature Suggestions [GZDoom]”