fix jitter

This commit is contained in:
RandomityGuy 2024-06-13 23:33:15 +05:30
parent 176ceb3e40
commit f6a9880364
2 changed files with 2 additions and 2 deletions

View file

@ -1959,7 +1959,7 @@ class Marble extends GameObject {
function calculateNetSmooth() {
if (this.netCorrected) {
this.netCorrected = false;
this.netSmoothOffset.load(this.lastRenderPos.sub(this.oldPos).sub(this.velocity.multiply(0.032)));
this.netSmoothOffset.load(this.lastRenderPos.sub(this.oldPos));
// this.oldPos.load(this.posStore);
}
}

View file

@ -41,7 +41,7 @@ class MarbleGame {
static var canvas:Canvas;
static var instance:MarbleGame;
static var currentVersion = "1.1.1";
static var currentVersion = "1.1.2";
var world:MarbleWorld;
var previewWorld:PreviewWorld;