polyogn hittest now working, was simpler than I imagined it