- Home /
Raycast hit point on face, not triangle
Hello, I have a cube and I'm firing a raycast at it then using the hit value to do other things with it. The problem I have is that if I move the mouse over a specific face (with the raycast constantly being fired off) as it passes over the part where the two triangles meet to form that face it'll jump/jitter a tiny bit ahead because it's now hitting a different triangle. The difference is only by about 0.1f but it's quite noticeable in the app I'm making and I was wondering if anyone has any idea of how to make a smooth transition between triangles.
Comment