Im trying to Open a door when i enter an overlap area and press E although I cant seem to make it work when I press a key. I tried calling the function when the input is pressed although It didn’t seem to work. The door opens fine when i don’t have the input implemented.
A) The overlap to set a bool that you are in range
B) a bind pressed test that will trigger the action if the bool is true
C) overlap end needs to set the bool to false
Why are you using SetupPlayerInputComponent on an actor? You are not overriding any function with it because it is derived from the ACharacter class not the AActor class
This topic has been moved from International to Programming & Scripting: C++.
When posting, please review the categories to ensure your topic is posted in the most relevant space. Hopefully, this new category helps you (or other devs with similar questions!).