From fb32115350aa8004a896fc486af7d7eafc21b2c2 Mon Sep 17 00:00:00 2001 From: kts of kettek Date: Sat, 29 Jan 2022 22:24:41 -0800 Subject: [PATCH] Adjust friction --- Engine/src/live/PlayerEntity.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/src/live/PlayerEntity.ts b/Engine/src/live/PlayerEntity.ts index 1b977ec..47a1c0f 100644 --- a/Engine/src/live/PlayerEntity.ts +++ b/Engine/src/live/PlayerEntity.ts @@ -110,8 +110,8 @@ export class PlayerEntity extends Entity { } // - this.velocity[0] *= 0.7 - this.velocity[1] *= 0.7 + this.velocity[0] *= 0.65 + this.velocity[1] *= 0.65 // Eh... let's manually handle velocity this.body?.setLinearVelocity(planck.Vec2(this.velocity[0], this.velocity[1]))