Need to double click to invoke Fire()

I need to double click to invork Fire()
after google and found solution relate to my problem in BP then I try put

playerControllerRef->SetInputMode(FInputModeGameAndUI());

in beginplay in ATank class and it’s fix

so what is the explanation here ?
are input need to wake up just like physic body ?
so setting input mode make It’s ready to read input ?

That shouldn’t be needed if following the course. Did you do anything extra/different?

I use ue5.0
and done everything following course.

Would you mind sending me your project using the following link?

https://gdev.tv/projectupload

Please use File > Zip Project within Unreal as this will ensure only required files are zipped up and things like the Binaries are excluded.

1 Like

ok done

You have appeared to have changed your project settings.


This was set to no capture, the one highlighted is the default.

2 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms