pageok




  

Changing Cameras -- Blender 3D Game Engine


 

 
11.  Add an AND Controller

Camera Selected

Buttons Window menu >> Logic (F4)
Controllers Add
AND Controller
State Mask Group 2

  
12.  Add a Scene Actuator (Set Camera):  Cam1

Note:
When the C Key is pressed, we want to change the active camera from Cam2 back to Cam1.

Buttons Window menu >> Logic (F4)
Actuators Add
Scene Actuator
Set Camera.
OB: Cam1

      
13.  Connect Keyboard Sensor >> AND Controller >> Scene Actuator

Buttons Window menu >> Logic (F4)
Pull wire from brass bump to brass dimple

  
14.  Add a State Actuator --  Cpy: State Mask Group 1

Note:
We are going to use the State Actuator to switch from State Mask Group 2 back to State Mask Group 1.

Buttons Window menu >> Logic (F4)
Actuators Add
State Actuator
Cpy:  State Mask Group 1


 
 
pageok