If you have no objections I will post this on Github with you and Higor as the authors.
If you think of any improvements to the code, please post them here and I will update mine also.
![goodjob :gj:](./images/smilies/goodjob.gif)
Code: Select all
static final function float GetNMT( float f )
{
f = int(100.f * FMax(0.01, (1.0 / FMax(f, 0.005))) + 0.5f);
f/=100.f;
Return (1.f/f);
}
What does NMT mean?Buggie wrote: ↑Sat Jan 15, 2022 4:18 pmProper implementation must include "+ 0.5f" part.Code: Select all
static final function float GetNMT( float f ) { f = int(100.f * FMax(0.01, (1.0 / FMax(f, 0.005))) + 0.5f); f/=100.f; Return (1.f/f); }
For example:
14.3 -> not proper = 16.66667, but proper = 14.28714
6 -> not proper 6.25 , proper = 5.882353.
Recently I noticed fast and small vertical shaking of my view while I was standing on a resting vertical mover; the view trembled with about 5 Hz. Happened on server "BarbiesWorld"(v469c) in map "MH-3072-FloorWays+SBMod". It was only visible for me, not for other players. Also not visible when I team-viewed myself through them.
https://github.com/OldUnreal/UnrealTour ... issues/720Barbie wrote: ↑Tue Jan 18, 2022 10:39 am Recently I noticed fast and small vertical shaking of my view while I was standing on a resting vertical mover; the view trembled with about 5 Hz. Happened on server "BarbiesWorld"(v469c) in map "MH-3072-FloorWays+SBMod". It was only visible for me, not for other players. Also not visible when I team-viewed myself through them.