Fixed omnidirectional shooting with ignored rotation

This commit is contained in:
Anuken
2020-02-16 13:49:29 -05:00
parent 7a8bd82f8e
commit e71230755d
4 changed files with 13 additions and 6 deletions

View File

@@ -9,6 +9,8 @@ public class WeaponMount{
public float reload;
/** rotation relative to the unit this mount is on */
public float rotation;
/** destination rotation; do not modify! */
public float targetRotation;
/** aiming position in world coordinates */
public float aimX, aimY;
/** side that's being shot - only valid for mirrors */