more advanced isTouched and now the velocity vector can change size