Update: use side of unit (instead of center) for distance and attack