added hitbool and dis = 0 in case distance is below threshold in vcgIntersect