Adjust friction
This commit is contained in:
parent
25f44c4dd9
commit
fb32115350
|
@ -110,8 +110,8 @@ export class PlayerEntity extends Entity {
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
this.velocity[0] *= 0.7
|
this.velocity[0] *= 0.65
|
||||||
this.velocity[1] *= 0.7
|
this.velocity[1] *= 0.65
|
||||||
|
|
||||||
// Eh... let's manually handle velocity
|
// Eh... let's manually handle velocity
|
||||||
this.body?.setLinearVelocity(planck.Vec2(this.velocity[0], this.velocity[1]))
|
this.body?.setLinearVelocity(planck.Vec2(this.velocity[0], this.velocity[1]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user