ok so I have a camera movement with mouse here. I will use linetracebychannel and detect if there is any wall near my camera (open to suggestions for a better way of detecting nearby walls). But the issue is, how can I make the camera not move to that one direction while linetracebychannel sees a wall nearby?
This is how it looks right now: Screen capture - 33d3518de7ffe949080f9641b16af10a - Gyazo
I want to prevent it going through the side wall.