I actually use USE_POLYGON first and set terrain flags to POLYGON before changing my code since it still returns the sams result. In the image I provided, the hit position is actually flat in the terrain surface. Thd only thing I haven't tried is SCAN_TEXTURE. I shut the PC down after 2hours of trying.