fixed shooting aiming and url broken

This commit is contained in:
landgreen
2021-04-16 05:13:21 -07:00
parent a5aea4ccc5
commit 058b1f94f5
6 changed files with 19 additions and 21 deletions

View File

@@ -921,7 +921,7 @@ const mobs = {
this.torque += 0.000004 * this.inertia;
} else if (dot < -threshold) {
this.torque -= 0.000004 * this.inertia;
} else if (this.noseLength > 1.5 && dot > 0 && dot < 0.03) {
} else if (this.noseLength > 1.5 && dot > -0.2 && dot < 0.2) {
//fire
spawn.bullet(this.vertices[1].x, this.vertices[1].y, 9 + Math.ceil(this.radius / 15));
const v = 15;