jitterfix 0.5f faster
This commit is contained in:
@@ -8,7 +8,7 @@ public partial class window : Node
|
||||
/* VSync should be used because needing to change the PhysicsTicksPerSecond in _Process takes CPU ussage
|
||||
* You could also just set max FPS and delte this fix
|
||||
*/
|
||||
await ToSignal(GetTree().CreateTimer(2f), "timeout");//waits until the game has loaded some time
|
||||
await ToSignal(GetTree().CreateTimer(1.5f), "timeout");//waits until the game has loaded some time
|
||||
if (Engine.PhysicsTicksPerSecond != (int)Engine.GetFramesPerSecond())
|
||||
{
|
||||
Engine.PhysicsTicksPerSecond = (int)Engine.GetFramesPerSecond(); //PhysicsTicksPerSecond have to be the same value like current FPS or the movement will lagg
|
||||
|
Reference in New Issue
Block a user