I am pulling out my hair trying to get this to work and don’t know why it is so difficult.
I have a simple staticmesh actor that is in the scene already created and I added a C++ component to it.
It is of a class UActorComponent.
I’d like to control it through keyboard events. I set it up already in the project settings.
How do I bind the keyboard events into my UActorComponent class?
InputComponent isn’t visible in my class.
What is the correct way to handle and receive keypresses in my actor?