got angle and distance checks working for melee swing function