Hey there! I’m working on a small video game and I want to have multiple cameras throughout the level as my main menu. Everything works fine except that I can’t switch between the cameras. The idea:
Clicking “Settings” disables camera 1 and enables camera 2, and vice versa.
Here is how the blueprint looks like. It says the cast to my pawn cameras placed in the world would always fail (From UI to Pawn Cameras). I have no idea what to do.
You can repeat it for the other buttons. It can also be automated a bit but if it’s just 4 cameras, it may not be worth the fuss. If the buttons are sitting in a panel, like a vertical box, all of them could be bound in a single loop instead.