BindAction and EnableInput not working for an Actor
I'm using EnableInput whenever the beginoverlap event is called and the OtherActor is my character but it doesn't work. I googled around and couldn't find any answers that worked for me is there something I'm missing? Using when I use the Fire Event in blueprints it works even without enabling input.
Setup in the Header file:
Inside the constructor:
Managed to fix it. Seems like every actor has a variable called InputComponent by default and by using
In BeginPlay my problem was solved.
answered Mar 22 '19 at 02:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here