| let f = new Vec2(0, 0); | let f = new Vec2(0, 0); | ||||
| if (this.keys.up) | if (this.keys.up) | ||||
| f.set(0, -0.1); | |||||
| f.set(0, -0.4); | |||||
| if (this.keys.down) | if (this.keys.down) | ||||
| f.set(0, 0.1); | |||||
| f.set(0, 0.4); | |||||
| if (this.keys.left) | if (this.keys.left) | ||||
| this.rotForce -= 0.005; | this.rotForce -= 0.005; | ||||
| if (this.keys.right) | if (this.keys.right) |