Page 1 of 1

Flag to disable low friction bouncing off walls

Posted: Wed Nov 14, 2018 11:49 pm
by Guest
In the act of recreating Quake movement in ZScript, I've set the friction value of my player class to 50000 so that the engine's friction doesn't mess up the friction I coded in. This has the very unfortunate side effect of causing the player to bounce off walls even at low speeds, making getting into small doorways and hallways a righteous pain. A flag to disable this (NOFRICTIONBOUNCE?) would make this much more playable.

Re: Flag to disable low friction bouncing off walls

Posted: Sat Nov 17, 2018 11:56 am
by Guest
I just noticed that there's no way whatsoever to disable the effects of air friction - at least, for actors affected by gravity. So broadening things a bit, how about a flag to just disable the effects of friction (including air friction) on an actor entirely? A +NOFRICTIONBOUNCE (or whatever) would still be nice, but this would still get me my end goal, would probably be useful to more people, and it looks like it'd be easy to implement.

Re: Flag to disable low friction bouncing off walls

Posted: Sat Nov 17, 2018 6:07 pm
by Guest
Went ahead and made a pull request for this: https://github.com/coelckers/gzdoom/pull/637
(moderators, you can get rid of the previous anon post in this thread)

Re: Flag to disable low friction bouncing off walls

Posted: Mon Dec 24, 2018 9:42 pm
by Guest
I was really hoping a code submission would've stopped this request from being *completely ignored* both here and on Github. I've been sitting on a mod that uses these flags for over a month now. I want to share it, and this complete lack of response is aggravating to say the least.

Re: Flag to disable low friction bouncing off walls

Posted: Tue Dec 25, 2018 10:12 am
by Graf Zahl
Sorry, this seemed to have gone below the radar and probably went off the visible range of suggestions too quickly.
From a quick look this looks acceptable, I'll have to do a closer check first before applying.