I have problem of not being able to move my camera when paused.
My camera is a customcamera class and set into defaultpawnclass. When I click a button, I call UGameplayStatics::SetGamePaused(GetWorld(), true); and the customclass doesn’t work anymore.
Where should i put SetTickableWhenPaused(true); in the code?
I tried to put it in the customcamera class initialization and before button click but none of it works
My camera movement is using wasd and mouse, will having execute when pause function works too? and where should i put it?
This is all done in c++