Skip to content

Keybinds and Controls

This guide will help you navigate and interact with the environment using your mouse and keyboard. Below are the keybindings organized into easy-to-read tables, along with detailed descriptions to enhance your experience.

Table of Contents

Mouse Controls

Use your mouse to control the camera's orientation and zoom level.

ActionKeybindDescription
Orbit CameraLeft Mouse Button (Hold)Rotate the camera around a focal point by holding the left mouse button and moving the mouse.
Rotate CameraRight Mouse Button (Hold)Adjust the camera's rotation by holding the right mouse button and moving the mouse.
Zoom In/OutMouse Scroll WheelScroll the wheel up to zoom in and scroll down to zoom out.

Keyboard Controls

Camera Movement

Navigate the camera through the simulation using the following keys:

ActionKeysDescription
Move ForwardW or Up ArrowMoves the camera's center of orbit forward in the simulation space.
Move LeftA or Left ArrowMoves the camera's center of orbit to the left side.
Move BackwardS or Down ArrowMoves the camera's center of orbit backward.
Move RightD or Right ArrowMoves the camera's center of orbit to the right side.
Move UpwardQRaises the camera's center of orbit upward.
Move DownwardELowers the camera's center of orbit downward.

Camera Speed

Adjust the speed of the camera movement to suit your preference:

ActionKeybindDescription
Increase SpeedLeft Shift (Hold)Hold down the Left Shift key to move the camera faster.
Normal SpeedRelease Left ShiftRelease the Left Shift key to return to normal movement speed.

Simulation Controls

Manage the simulation state with these keybinds:

ActionKeybindDescription
Pause/Resume SimulationSpacebarToggles between pausing and resuming the simulation.
Restart SimulationRRestarts the simulation from the beginning.
Toggle Configuration PanelLOpens or closes the configuration selector panel for adjusting simulation settings.

Camera Shortcuts

Quickly focus on specific swarms or centers of interest:

ActionKeybindDescription
Snap to Next Interceptor Swarm1Cycles through interceptor swarms and snaps the camera to their centroid.
Snap to Next Threat Swarm2Cycles through threat swarms and snaps the camera to their centroid.
Snap to All Agents Center3Snaps the camera to the centroid of all agents.
Follow Next Interceptor SwarmCtrl + 1Cycles through interceptor swarms and follows their centroid dynamically.
Follow Next Threat SwarmCtrl + 2Cycles through threat swarms and follows their centroid dynamically.
Follow All Agents CenterCtrl + 3Follows the centroid of all agents dynamically.

TIP

Press the number keys (1, 2, 3) to snap the camera to the respective centroids. Hold Ctrl while pressing the number keys to follow the centroids dynamically.

Additional Controls

Enhance your interaction with the simulation using these keybinds:

ActionKeybindDescription
Toggle Fullscreen (Windows)Alt + ENTERToggles between fullscreen and windowed mode.
Toggle Auto-RotatePEnables or disables the camera's auto-rotate feature.
Quit ApplicationEscExits the simulation application.

Tips for Effective Navigation

  • Combining Controls: Feel free to combine mouse and keyboard controls. For example, hold the Left Shift key while moving the camera forward with the W key for faster traversal.
  • Pausing for Adjustments: Use the Spacebar to pause the simulation, allowing you to adjust camera angles or settings without interruption.
  • Exploring Swarms: Utilize the camera shortcuts to quickly focus on different swarms or all agents.
  • Auto-Rotate: Press P to enable auto-rotation of the camera around the current focal point. This feature can be combined with other camera controls for better 3D perspective.

Happy simming!

Released under the BSD-3-Clause License.