distancelinepoint in hitdetector