We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93abb30 commit da112c5Copy full SHA for da112c5
src/progressed/entities/bullet/pseudo3d/ArcMissileBulletType.java
@@ -57,6 +57,13 @@ public void arcBulletDataInit(Bullet b){
57
a.updateAimPos(b);
58
}
59
60
+ @Override
61
+ public void updateHoming(Bullet b){
62
+ //Since the pitch calculation can only find one solution, only home when that one solution is the optimal one.
63
+ if(((ArcBulletData)b.data).zVel > 0) return;
64
+ super.updateHoming(b);
65
+ }
66
+
67
public static class ArcMissileData extends ArcBulletData{
68
public float accel;
69
0 commit comments