public static final Direction SOUTHE = new Direction(Math.PI / 4 * 1);
public static final Direction SOUTHW = new Direction(Math.PI / 4 * 3);
public static final Direction NORTHE = new Direction(Math.PI / 4 * 7);
public static final Direction NORTHW = new Direction(Math.PI / 4 * 5);
If these four lines are pasted into "Direction.java" along with the other ones, and further:
These, if inserted into "arc.java" will enable you to use "NECenteredDegrees", "NWCenteredDegrees", "SECenteredDegrees" and "SWCenteredDegrees"
These will enable you to make weapons firing at North East as the arc center, instead of just forward, backwards, up and down (With North being Up)
Just in-case anyone needed to know, and couldn't find out how to do it (Chris, maths is hard, havnt done any trig in like 2 years...)
Commander, Engineering Corps
If these four lines are pasted into "Direction.java" along with the other ones, and further:
These, if inserted into "arc.java" will enable you to use "NECenteredDegrees", "NWCenteredDegrees", "SECenteredDegrees" and "SWCenteredDegrees" These will enable you to make weapons firing at North East as the arc center, instead of just forward, backwards, up and down (With North being Up)
Just in-case anyone needed to know, and couldn't find out how to do it (Chris, maths is hard, havnt done any trig in like 2 years...)
Warrant Officer, Engineering Corps
this is cool, could you know how to make weapons to shoot west and east, but not to north nor south