Open Reorn opened 1 year ago
In current version the FPS are not exactly the same value, but are constant and do not show any visual noticeable differences from what I can see.
Last beta (2024-01-08) The glitch with rotation partially fixed, The glitch with speed has not disappeared. But it aviable only with HIGH fps.
As far as I can see, the engine recalculates the Projectile velocity every tick, despite the fact that it MUST be a constant. The MORE OFTEN it recalculates this, the MORE the error accumulates.
You can test map END.UNR with Vsync=off, and FrameRateLimit=600 The camera will move at a different speed each time and stop in different places each time. (Camera has PHYS_Projectile) Under certain conditions, the camera may fly out of the world.
In the attached log file, the camera speed (as vsize() of velocity) “shakes” from 19 to 260 uu, despite the fact that it should be constantly 45 uu
Ok, this is not a bug, this is a feature. Anyone can fix this by limiting the framelimit to reasonable values.
About glitch with rotation: The minimum rotation angle in UnrealEngine is 360/65536 degree = 0.0055 degree
As example RotationRate = 0.0055 degrees per tick at 100 fps. at 500 fps RotationRate мust be = 0.0011 degrees per tick Therefore, the actor must turn 0.0055 degrees every 5 tick.
in Old beta (2023-03-29) actor turn 0.0000 degrees every tick (stood still and no rotating). in New beta (2024-01-08) actor turn 0.0055 degrees every tick ( 5 times faster than necessary). It's done better than before, but both results are incorrect
I don't know how to fix this or if it is possible to fix it. Just reporting a bug
IF (FPS > 500 && RotationRate < 250) actor not rotated. (test map attached: the planet does not rotate if FPS > 500 and rotate if Vsync=On) If FPS is uneven, rotation "shakes" Test_Rotation.zip
Also, as far as I see, projectile speed depends on FPS. On map 'End' (RNTP) speed of last camera (CS_Camera17) must be constant = 45 at high FPS it "shakes" from 4 to 60 if ( Vsync == On) camera speed is constant
test map attached (look at the camera movement at the end of the game, after the ship explodes) TestSpeed.zip