This commit is contained in:
Anuken
2020-12-22 11:28:33 -05:00
parent 8521d5cd1b
commit 7ea12e97ec
2 changed files with 3 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ public class TractorBeamTurret extends BaseTurret{
}
any = true;
target.impulseNet(Tmp.v1.set(this).sub(target).limit((force + (1f - target.dst(this) / range) * scaledForce) * efficiency() * timeScale));
target.impulseNet(Tmp.v1.set(this).sub(target).limit((force + (1f - target.dst(this) / range) * scaledForce) * edelta() * timeScale));
}
}else{
strength = Mathf.lerpDelta(strength, 0, 0.1f);