swinging =
                Math.sqrt(Math.pow(n.fa2.old_dx - n.fa2.dx, 2) +
                Math.pow(n.fa2.old_dy - n.fa2.dy, 2));