micromissiles-unity/Keybinds_and_Controls.html

24 lines
20 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Keybinds and Controls | micromissiles-unity</title>
<meta name="description" content="Swarm-on-swarm simulator using micromissiles for point defense">
<meta name="generator" content="VitePress v1.3.4">
<link rel="preload stylesheet" href="/micromissiles-unity/assets/style.ByW27x_6.css" as="style">
<script type="module" src="/micromissiles-unity/assets/app.CoSPHv2u.js"></script>
<link rel="preload" href="/micromissiles-unity/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/micromissiles-unity/assets/chunks/theme.ClAeuI5Q.js">
<link rel="modulepreload" href="/micromissiles-unity/assets/chunks/framework.DYF6f1aH.js">
<link rel="modulepreload" href="/micromissiles-unity/assets/Keybinds_and_Controls.md.CAuuuHw7.lean.js">
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
</head>
<body>
<div id="app"><div class="Layout" data-v-5d98c3a5><!--[--><!--]--><!--[--><span tabindex="-1" data-v-0f60ec36></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-0f60ec36> Skip to content </a><!--]--><!----><header class="VPNav" data-v-5d98c3a5 data-v-ae24b3ad><div class="VPNavBar" data-v-ae24b3ad data-v-6aa21345><div class="wrapper" data-v-6aa21345><div class="container" data-v-6aa21345><div class="title" data-v-6aa21345><div class="VPNavBarTitle has-sidebar" data-v-6aa21345 data-v-ab179fa1><a class="title" href="/micromissiles-unity/" data-v-ab179fa1><!--[--><!--]--><!----><span data-v-ab179fa1>micromissiles-unity</span><!--[--><!--]--></a></div></div><div class="content" data-v-6aa21345><div class="content-body" data-v-6aa21345><!--[--><!--]--><div class="VPNavBarSearch search" data-v-6aa21345><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><span class="vp-icon DocSearch-Search-Icon"></span><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-6aa21345 data-v-dc692963><span id="main-nav-aria-label" class="visually-hidden" data-v-dc692963> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/micromissiles-unity/" tabindex="0" data-v-dc692963 data-v-9c663999><!--[--><span data-v-9c663999>Home</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/micromissiles-unity/Keybinds_and_Controls.html" tabindex="0" data-v-dc692963 data-v-9c663999><!--[--><span data-v-9c663999>Documentation</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/micromissiles-unity/Development_Guide.html" tabindex="0" data-v-dc692963 data-v-9c663999><!--[--><span data-v-9c663999>Development Guide</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-6aa21345 data-v-6c893767><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-6c893767 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-6aa21345 data-v-0394ad82 data-v-7bc22406><!--[--><a class="VPSocialLink no-icon" href="https://github.com/PisterLab/micromissiles-unity" aria-label="github" target="_blank" rel="noopener" data-v-7bc22406 data-v-eee4e7cb><span class="vpi-social-github" /></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-6aa21345 data-v-bb2aa2f0 data-v-b6c34ac9><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-b6c34ac9><span class="vpi-more-horizontal icon" data-v-b6c34ac9></span></button><div class="menu" data-v-b6c34ac9><div class="VPMenu" data-v-b6c34ac9 data-v-b98bc113><!----><!--[--><!--[--><!----><div class="group" data-v-bb2aa2f0><div class="item appearance" data-v-bb2aa2f0><p class="label" data-v-bb2aa2f0>Appearance</p><div class="appearance-action" data-v-bb2aa2f0><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-bb2aa2f0 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div></div></div><div class="group" data-v-bb2aa2f0><div class="item social-links" data-v-bb2aa2f0><div class="VPSocialLinks social-links-list" data-v-bb2aa2f0 data-v-7bc22406><!--[--><a class="VPSocialLink no-icon" href="https://github.com/PisterLab/micromissiles-unity" aria-label="github" target="_blank" rel="noopener" data-v-7bc22406 data-v-eee4e7cb><span class="vpi-social-github" /></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-6aa21345 data-v-e5dd9c1c><span class="container" data-v-e5dd9c1c><span class="top" data-v-e5dd9c1c></span><span class="middle" data-v-e5dd9c1c></span><span class="bottom" data-v-e5dd9c1c></span></span></button></div></div></div></div><div class="divider" data-v-6aa21345><div class="divider-line" data-v-6aa21345></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-5d98c3a5 data-v-a6f0e41e><div class="container" data-v-a6f0e41e><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-a6f0e41e><span class="vpi-align-left menu-icon" data-v-a6f0e41e></span><span class="menu-text" data-v-a6f0e41e>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-a6f0e41e data-v-17a5e62e><button data-v-17a5e62e>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-5d98c3a5 data-v-319d5ca6><div class="curtain" data-v-319d5ca6></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-319d5ca6><span class="visually-hidden" id="sidebar-aria-label" data-v-319d5ca6> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-c40bc020><section class="VPSidebarItem level-0 has-active" data-v-c40bc020 data-v-b7550ba0><div class="item" role="button" tabindex="0" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><h2 class="text" data-v-b7550ba0>Documentation</h2><!----></div><div class="items" data-v-b7550ba0><!--[--><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/micromissiles-unity/Keybinds_and_Controls.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>Keybinds and Controls</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/micromissiles-unity/Simulation_Config_Guide.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>Simulation Configuration Guide</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/micromissiles-unity/Simulation_Logging.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>Simulation Logging</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/micromissiles-unity/coverage/editmode/Report/" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>Coverage Reports</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/micromissiles-unity/Development_Guide.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>Development Guide</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-5d98c3a5 data-v-1428d186><div class="VPDoc has-sidebar has-aside" data-v-1428d186 data-v-39a288b8><!--[--><!--]--><div class="container" data-v-39a288b8><div class="aside" data-v-39a288b8><div class="aside-curtain" data-v-39a288b8></div><div class="aside-container" data-v-39a288b8><div class="aside-content" data-v-39a288b8><div class="VPDocAside" data-v-39a288b8 data-v-3f215769><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-3f215769 data-v-a5bbad30><div class="content" data-v-a5bbad30><div class="outline-marker" data-v-a5bbad30></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-a5bbad30>On this page</div><ul class="VPDocOutlineItem root" data-v-a5bbad30 data-v-b933a997><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-3f215769></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-39a288b8><div class="content-container" data-v-39a288b8><!--[--><!--]--><main class="main" data-v-39a288b8><div style="position:relative;" class="vp-doc _micromissiles-unity_Keybinds_and_Controls" data-v-39a288b8><div><h1 id="keybinds-and-controls" tabindex="-1">Keybinds and Controls <a class="header-anchor" href="#keybinds-and-controls" aria-label="Permalink to &quot;Keybinds and Controls&quot;"></a></h1><p>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.</p><h2 id="table-of-contents" tabindex="-1">Table of Contents <a class="header-anchor" href="#table-of-contents" aria-label="Permalink to &quot;Table of Contents&quot;"></a></h2><ul><li><a href="#mouse-controls">Mouse Controls</a></li><li><a href="#keyboard-controls">Keyboard Controls</a><ul><li><a href="#camera-movement">Camera Movement</a></li><li><a href="#camera-speed">Camera Speed</a></li><li><a href="#simulation-controls">Simulation Controls</a></li><li><a href="#additional-controls">Additional Controls</a></li><li><a href="#preset-views">Preset Views</a></li></ul></li></ul><h2 id="mouse-controls" tabindex="-1">Mouse Controls <a class="header-anchor" href="#mouse-controls" aria-label="Permalink to &quot;Mouse Controls&quot;"></a></h2><p>Use your mouse to control the camera&#39;s orientation and zoom level.</p><table tabindex="0"><thead><tr><th><strong>Action</strong></th><th><strong>Keybind</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr><td><strong>Orbit Camera</strong></td><td>Left Mouse Button (Hold)</td><td>Rotate the camera around a focal point by holding the left mouse button and moving the mouse.</td></tr><tr><td><strong>Rotate Camera</strong></td><td>Right Mouse Button (Hold)</td><td>Adjust the camera&#39;s rotation by holding the right mouse button and moving the mouse.</td></tr><tr><td><strong>Zoom In/Out</strong></td><td>Mouse Scroll Wheel</td><td>Scroll the wheel up to zoom in and scroll down to zoom out.</td></tr></tbody></table><h2 id="keyboard-controls" tabindex="-1">Keyboard Controls <a class="header-anchor" href="#keyboard-controls" aria-label="Permalink to &quot;Keyboard Controls&quot;"></a></h2><h3 id="camera-movement" tabindex="-1">Camera Movement <a class="header-anchor" href="#camera-movement" aria-label="Permalink to &quot;Camera Movement&quot;"></a></h3><p>Navigate the camera through the simulation using the following keys:</p><table tabindex="0"><thead><tr><th><strong>Action</strong></th><th><strong>Keys</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr><td><strong>Move Forward</strong></td><td><strong>W</strong> or <strong>Up Arrow</strong></td><td>Moves the camera forward in the simulation space.</td></tr><tr><td><strong>Move Left</strong></td><td><strong>A</strong> or <strong>Left Arrow</strong></td><td>Moves the camera to the left side.</td></tr><tr><td><strong>Move Backward</strong></td><td><strong>S</strong> or <strong>Down Arrow</strong></td><td>Moves the camera backward.</td></tr><tr><td><strong>Move Right</strong></td><td><strong>D</strong> or <strong>Right Arrow</strong></td><td>Moves the camera to the right side.</td></tr><tr><td><strong>Move Upward</strong></td><td><strong>Q</strong></td><td>Raises the camera upward.</td></tr><tr><td><strong>Move Downward</strong></td><td><strong>E</strong></td><td>Lowers the camera downward.</td></tr></tbody></table><h3 id="camera-speed" tabindex="-1">Camera Speed <a class="header-anchor" href="#camera-speed" aria-label="Permalink to &quot;Camera Speed&quot;"></a></h3><p>Adjust the speed of the camera movement to suit your preference:</p><table tabindex="0"><thead><tr><th><strong>Action</strong></th><th><strong>Keybind</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr><td><strong>Increase Speed</strong></td><td><strong>Left Shift (Hold)</strong></td><td>Hold down the Left Shift key to move the camera faster.</td></tr><tr><td><strong>Normal Speed</strong></td><td><em>Release Left Shift</em></td><td>Releases the Left Shift key to return to normal movement speed.</td></tr></tbody></table><h3 id="simulation-controls" tabindex="-1">Simulation Controls <a class="header-anchor" href="#simulation-controls" aria-label="Permalink to &quot;Simulation Controls&quot;"></a></h3><p>Manage the simulation state with these keybinds:</p><table tabindex="0"><thead><tr><th><strong>Action</strong></th><th><strong>Keybind</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr><td><strong>Pause/Resume</strong></td><td><strong>Spacebar</strong></td><td>Toggles between pausing and resuming the simulation.</td></tr><tr><td><strong>Restart Simulation</strong></td><td><strong>R</strong></td><td>Restarts the simulation from the beginning.</td></tr><tr><td><strong>Toggle Configuration Panel</strong></td><td><strong>L</strong></td><td>Opens or closes the configuration selector panel for adjusting simulation settings.</td></tr></tbody></table><h3 id="additional-controls" tabindex="-1">Additional Controls <a class="header-anchor" href="#additional-controls" aria-label="Permalink to &quot;Additional Controls&quot;"></a></h3><p>Enhance your interaction with the simulation using these additional keybinds:</p><table tabindex="0"><thead><tr><th><strong>Action</strong></th><th><strong>Keybind</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr><td><strong>Toggle Auto-Rotate</strong></td><td><strong>P</strong></td><td>Enables or disables the camera&#39;s auto-rotate feature.</td></tr><tr><td><strong>Quit Application</strong></td><td><strong>Esc</strong></td><td>Exits the simulation application.</td></tr></tbody></table><h3 id="preset-views" tabindex="-1">Preset Views <a class="header-anchor" href="#preset-views" aria-label="Permalink to &quot;Preset Views&quot;"></a></h3><p>Quickly switch to predefined camera angles for different perspectives:</p><table tabindex="0"><thead><tr><th><strong>Action</strong></th><th><strong>Keybind</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr><td><strong>Preset View 1</strong></td><td><strong>1</strong></td><td>Switches to the first predefined camera view.</td></tr><tr><td><strong>Preset View 2</strong></td><td><strong>2</strong></td><td>Switches to the second predefined camera view.</td></tr><tr><td><strong>Preset View 3</strong></td><td><strong>3</strong></td><td>Switches to the third predefined camera view.</td></tr><tr><td><strong>Preset View 4</strong></td><td><strong>4</strong></td><td>Switches to the fourth predefined camera view.</td></tr><tr><td><strong>Preset View 5</strong></td><td><strong>5</strong></td><td>Switches to the fifth predefined camera view.</td></tr><tr><td><strong>Preset View 6</strong></td><td><strong>6</strong></td><td>Switches to the sixth predefined camera view.</td></tr></tbody></table><p><em>Note: The implementation for preset views may be added in future updates.</em></p><h2 id="tips-for-effective-navigation" tabindex="-1">Tips for Effective Navigation <a class="header-anchor" href="#tips-for-effective-navigation" aria-label="Permalink to &quot;Tips for Effective Navigation&quot;"></a></h2><ul><li><strong>Combining Controls</strong>: Feel free to combine mouse and keyboard controls for a more dynamic navigation experience. For example, hold the <strong>Left Shift</strong> key while moving the camera forward with the <strong>W</strong> key for faster traversal.</li><li><strong>Pausing for Adjustments</strong>: Use the <strong>Spacebar</strong> to pause the simulation, allowing you to adjust camera angles or settings without interruption.</li><li><strong>Exploring Views</strong>: Utilize the preset views to quickly jump to different perspectives, making it easier to explore various aspects of the simulation.</li></ul><p>Happy simming!</p></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-e257564d><!--[--><!--]--><!----><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-e257564d><span class="visually-hidden" id="doc-footer-aria-label" data-v-e257564d>Pager</span><div class="pager" data-v-e257564d><!----></div><div class="pager" data-v-e257564d><a class="VPLink link pager-link next" href="/micromissiles-unity/Simulation_Config_Guide.html" data-v-e257564d><!--[--><span class="desc" data-v-e257564d>Next page</span><span class="title" data-v-e257564d>Simulation Configuration Guide</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-5d98c3a5 data-v-e315a0ad><div class="container" data-v-e315a0ad><p class="message" data-v-e315a0ad>Released under the <a href="https://github.com/PisterLab/micromissiles-unity/blob/main/LICENSE">BSD-3-Clause License</a>.</p><p class="copyright" data-v-e315a0ad>Copyright © 2024-present, The Regents of the University of California (Regents). All Rights Reserved.</p></div></footer><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"development_guide.md\":\"Wx7fNEd3\",\"index.md\":\"CVOWUTll\",\"keybinds_and_controls.md\":\"CAuuuHw7\",\"markdown_examples.md\":\"BJC7tN3K\",\"simulation_config_guide.md\":\"BZQcs5Eb\",\"simulation_logging.md\":\"t33KQhfo\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"micromissiles-unity\",\"description\":\"Swarm-on-swarm simulator using micromissiles for point defense\",\"base\":\"/micromissiles-unity/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Documentation\",\"link\":\"/Keybinds_and_Controls\"},{\"text\":\"Development Guide\",\"link\":\"/Development_Guide\"}],\"sidebar\":[{\"text\":\"Documentation\",\"items\":[{\"text\":\"Keybinds and Controls\",\"link\":\"/Keybinds_and_Controls\"},{\"text\":\"Simulation Configuration Guide\",\"link\":\"/Simulation_Config_Guide\"},{\"text\":\"Simulation Logging\",\"link\":\"/Simulation_Logging\"},{\"text\":\"Coverage Reports\",\"link\":\"/coverage/editmode/Report/\"},{\"text\":\"Development Guide\",\"link\":\"/Development_Guide\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/PisterLab/micromissiles-unity\"}],\"search\":{\"provider\":\"local\"},\"footer\":{\"message\":\"Released under the <a href=\\\"https://github.com/PisterLab/micromissiles-unity/blob/main/LICENSE\\\">BSD-3-Clause License</a>.\",\"copyright\":\"Copyright © 2024-present, The Regents of the University of California (Regents). All Rights Reserved.\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
</body>
</html>