Adjust friction

This commit is contained in:
Ketchetwahmeegwun T. Southall 2022-01-29 22:24:41 -08:00
parent 25f44c4dd9
commit fb32115350

View File

@ -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]))