ground detection using QueryPoint