From a12209cdeccf20d8cecdb0a83bcd2a22029a067b Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Mon, 13 Feb 2023 17:39:24 +0100 Subject: [PATCH] Jumping is underpowered?? --- src/engine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine.ts b/src/engine.ts index a3f8d42..57f93be 100644 --- a/src/engine.ts +++ b/src/engine.ts @@ -299,7 +299,7 @@ export class RunningEngine { jump() { if (Math.abs(this.camera.cameraDirection.y) < 0.1) { - this.camera.cameraDirection.y += 1 * this.frameRateScale; + this.camera.cameraDirection.y += 2 * 9.81 * this.frameRateScale; } }