I'm trying to get an in game camera system to work and I'm running into a wall.
I followed a tutorial on how to make a first person camera movement and then I tacked on some extra code to have a UI overlay onto the first person camera to simulate the picture camera if that makes any sense. I can move the first person camera around freely and then I hit the right mouse button and the UI shows up. The issue I'm having is that when I toggle the UI on I can no longer move my camera around. I have a feeling that it has something to do with the UI toggle code over ridding the camera movement code but my general knowledge in coding is lacking on how to find a way to fix this. Any help would be greatly appreciated and the code is posted below!
UI Locking my camera movement
UndercoverWitch Try using _input()
instead of _unhandled_input()
.
xyz That work! Thank you so much!!