Change cameras with a button press.
So I have 2 cameras in my scene and I want triangle to switch the view to one camera and square to switch the view to the other camera. Does anyone have a simple way to do this?
I know I need to power on one while powering off the other but I'm having trouble with it, I'm trying to use the controller sensor with, say, square wired into the power of one and also wired into a signal manipulator that reverses the signal into the power of the other camera's power. This makes it as far as I can switch to the other camera while holding the button but when I release it, it goes back to the first camera.
I feel like there must be something I'm missing or a simpler way so thanks to anyone who has any ideas :)
-
Wire both of your buttons into a selectors 1 and 2 inputs. Wire each output to a camera. Hope this helps!
-
Ooh haven't played with the selector yet, I'll give it a go, thanks!
-
worked perfectly if anyone was wondering, thanks!
-
Yeah, the buttons on a controller sensor only send true when you hold it, that's why I made a true toggle chip to not use any other "advanced" logic.
You can find it by looking up my psn if you want an easy solution!
Please sign in to leave a comment.