{"id":2485,"date":"2025-11-20T20:48:43","date_gmt":"2025-11-20T20:48:43","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=2485"},"modified":"2025-11-20T20:48:43","modified_gmt":"2025-11-20T20:48:43","password":"","slug":"camera-controller","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/camera-controller\/","title":{"rendered":"Camera Controller"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Introduction<\/h2>\n\n\n\n<p>This is a simple camera controller used to demonstrate the versatility of the system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Setting up<\/h2>\n\n\n\n<p>There is a prefab OverseerCamera set up in \/prefabs\/ControlModes.<\/p>\n\n\n\n<p>Attach this component to a Camera.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Settings<\/h2>\n\n\n\n<p><strong>Axis<\/strong><br>Moves the Camera on the respective axis. Generally &#8211; XZ for 3d, and XY for 2d. <br><br><strong>Move Speed<\/strong><br>Movement speed of the controller.<br><br><strong>Use Camera Relative<\/strong><br>If enabled moves the Camera in its forward direction, otherwise strictly moves on the axis. Keep disabled for 2d. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Scripting<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\" data-show-lang=\"0\"><code>\/\/\/ &lt;summary&gt;\n\/\/\/ Enables or disables the controller\n\/\/\/ &lt;\/summary&gt;\n\/\/\/ &lt;param name=&quot;enable&quot;&gt;&lt;\/param&gt;\npublic void EnableDisableController(bool enable)\n<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction This is a simple camera controller used to demonstrate the versatility of the system. Setting up There is a prefab OverseerCamera set up in \/prefabs\/ControlModes. Attach this component to a Camera. Settings AxisMoves the Camera on the respective axis. Generally &#8211; XZ for 3d, and XY for 2d. Move SpeedMovement speed of the controller. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"doc_category":[46],"doc_tag":[],"class_list":["post-2485","docs","type-docs","status-publish","hentry","doc_category-resource-and-production"],"acf":[],"aioseo_notices":[],"year_month":"2026-04","word_count":104,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"rickitz5h","author_nicename":"rickitz5h","author_url":"https:\/\/golemitegames.com\/index.php\/author\/rickitz5h\/"},"doc_category_info":[{"term_name":"Resource And Production","term_url":"https:\/\/golemitegames.com\/index.php\/docs-category\/resource-and-production\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/comments?post=2485"}],"version-history":[{"count":2,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2485\/revisions"}],"predecessor-version":[{"id":2487,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2485\/revisions\/2487"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=2485"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=2485"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=2485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}