1
$\begingroup$

A Flip Flop gate, upon receiving a positive signal, will toggle between a true output and a false output. How can I achieve this effect using logic bricks? I want to be able to change perspectives with one key binding from first person to third person in the Blender Game Engine.

$\endgroup$
0

1 Answer 1

1
$\begingroup$

From the way you wrote your question, it sounds like you want to toggle between camera views. You can use a Boolean property, and have a keypress toggle that property to true or false. Then, if that property is true, the First Person camera will be activated, and if that property is false, the Third Person Camera will be activated.

This logic setup is one of the simplest you can use to toggle between two camera views:

enter image description here

Of course, you could use an integer property and a few more sensors and controllers to cycle through several camera views, instead of using a Boolean property (which can only be true or false) for the two camera views.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .