Total Collision Detection Nightmare!
DX11 C# C++ SIC Engine
Today, I toyed with the camera collision detection system. I just want to see if I can detect if the position vector met up with the mesh's triangles and just stop there. What happened? Total nightmare! One occasion, the camera hit the wall then got slung back in the other direciton. Kind of reminded me the Swing Set of Doom in GTA 5. Another instance is when I kept on pushing W on the keyboard, I was eventually able to go through the mesh. Not good. Another instance was it stopped alright - but I was locked inside the mesh. Not good either.
So back to the drawing board. This should be fun for tomorrow.