Hi
I’m using a fly system based on egoshooter to fly above a textured mesh terrain and need a way to ensure that it’s not possible to fly through and under the ‘ground’.
My first approach was to use the intersect (mesh) node to create a ray intersect test between the camera and the terrain. I couldn’t manage to make the ray always point ‘down’ though, regardless of view orientation.
Is there a way to test for collision or intersection between two meshes? Then I could use a transparent sphere at the same position as the camera.
Or another approach possibly?
Cheers