The MainCamera FSM has a single LookAround state responsible for controlling the camera.
FSM Diagram
NOTE: FSMs often start with a single state and grow as your project develops. An FSM lets you grow in an organized way.
States
Events
- None
Variables
- mouseX - Used to store the mouse x position.
- panSpeed - Used to set the maximum panning speed in degrees per second.
Actions Used