I’m new to programming and I’m working through a YT tutorial that came out before the Enhanced Inputs and I’m trying to integrate first-person aiming with enhanced inputs but having trouble. I’m on the last step of setting up the key bindings in Visual Studio. I was already able to get “Next Weapon” and “Previous Weapon” to work so I’m not sure what’s going on.
Here is what I have in the header file:
The includes should all be there since all the other controls work (move, look, next weapon…)
Here is what’s in the character file:
I was under the impression that the “Aiming” was a bool and doesn’t need to have anything else in the character file. I tried overriding the Aiming() in several locations in the header file but that didn’t seem to work. The program compiles without the aiming code.
I think the issue has to do with the Aiming(); in the header file but I am too inexperienced to know what’s going on. Help. Please. Thanks.