Hello! I’m trying to create 4 buttons that switch to their assigned cameras when clicked. Currently whenever I click one of those buttons the game crashes. I have the scene with the buttons (Switcher) in the scene with all 4 cameras (Whole Game). The script I have attached to the Switcher is this:
I’ve tried writing that, I wrote everything else as false because it wasn’t working. I think the issue is something else though so I’ll delete all the false statements
ok so I tried replacing the $Camera with $“../Camera” and still had the same issue. I parented the cameras to the switcher, using $Camera and that also didn’t do anything
If you manually set a camera’s Current property to false, another camera will try to become the current one automatically, so you should instead just use the make_current() method on whichever camera you are trying to switch to.
If this does not solve the issue, can you post the exact error you are seeing and the Node Hierarchy?