{"id":138204,"date":"2025-01-17T19:38:09","date_gmt":"2025-01-17T14:08:09","guid":{"rendered":"https:\/\/www.vskills.in\/certification\/tutorial\/?page_id=138204"},"modified":"2025-01-17T19:38:10","modified_gmt":"2025-01-17T14:08:10","slug":"controllers-2","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/","title":{"rendered":"Controllers"},"content":{"rendered":"\n<p>Controllers in Unreal Engine are used to manage how players or artificial intelligence (AI) control characters or other objects in a game. They act as the &#8220;brain&#8221; that tells the character or object what to do. There are two main types of controllers in Unreal Engine: Player Controllers and AI Controllers.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Player Controllers<\/h4>\n\n\n\n<p>Player Controllers are used when a human player controls a character or object in the game. They process inputs from devices like a keyboard, mouse, or gamepad and translate those inputs into actions.<\/p>\n\n\n\n<p>Here are some key points about Player Controllers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Input Handling<\/strong><br>Player Controllers listen for inputs, like when a player presses a key to move forward or clicks a button to shoot. Unreal Engine makes it easy to assign these inputs in the settings.<\/li>\n\n\n\n<li><strong>Control Multiple Characters<\/strong><br>A Player Controller can be assigned to one character at a time, but in some cases, you can switch between characters or control multiple objects.<\/li>\n\n\n\n<li><strong>Custom Logic<\/strong><br>Using Blueprints or code, you can create custom behaviors for how the player interacts with the game. For example, you can make the controller enable a &#8220;sprint&#8221; mode when the player holds down a specific key.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">AI Controllers<\/h4>\n\n\n\n<p>AI Controllers are used to control non-player characters (NPCs) in the game. These are characters or objects that are not controlled by a human player but instead follow programmed logic.<\/p>\n\n\n\n<p>Key points about AI Controllers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Behavior Trees<\/strong><br>AI are often use Behavior Trees to define how NPCs act. For example, an enemy AI might patrol an area, chase the player when detected, and attack if close enough.<\/li>\n\n\n\n<li><strong>Navigation<\/strong><br>AI Controllers work with Unreal Engine&#8217;s navigation system to help NPCs move around the world. For example, an AI character can navigate through a maze to reach a target.<\/li>\n\n\n\n<li><strong>Sensing<\/strong><br>AI of these can use tools like perception systems to &#8220;sense&#8221; the world. This means they can detect the player through vision, sound, or other triggers.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Linking Controllers to Characters<\/h4>\n\n\n\n<p>To make it work, you link it to a character or object. When you start the game, the Player Controller or AI Controller takes charge of the assigned character.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example Workflow<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Create a Character<\/strong><br>First, create the character you want to control. This includes the 3D model, skeleton, and animations.<\/li>\n\n\n\n<li><strong>Add a Controller<\/strong><br>Assign a Player Controller if the character is for the player, or an AI Controller if it is for an NPC.<\/li>\n\n\n\n<li><strong>Set Up Inputs<\/strong><br>For Player, define the keys or buttons the player will use to control the character.<\/li>\n\n\n\n<li><strong>Program Behavior<\/strong><br>Use Blueprints or code to define how the controller will respond to inputs or decide what actions to take.<\/li>\n<\/ol>\n\n\n\n<p>They are a crucial part of any game. They ensure that characters and objects respond to the player&#8217;s commands or follow programmed behaviors, creating an interactive and engaging experience.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.vskills.in\/certification\/unreal-engine-online-course\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"150\" src=\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png\" alt=\"Controllers\" class=\"wp-image-137870\" srcset=\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png 961w, https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners-300x47.png 300w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Controllers in Unreal Engine are used to manage how players or artificial intelligence (AI) control characters or other objects in a game. They act as the &#8220;brain&#8221; that tells the character or object what to do. There are two main types of controllers in Unreal Engine: Player Controllers and AI Controllers. Player Controllers Player Controllers&#8230;<\/p>\n","protected":false},"author":21,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[10414],"tags":[10423],"class_list":["post-138204","page","type-page","status-publish","hentry","category-unreal-engine","tag-unreal-engine"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Controllers - Tutorial<\/title>\n<meta name=\"description\" content=\"Controllers in Unreal Engine are used to manage how players or artificial intelligence (AI) control characters or other objects in a game.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Controllers - Tutorial\" \/>\n<meta property=\"og:description\" content=\"Controllers in Unreal Engine are used to manage how players or artificial intelligence (AI) control characters or other objects in a game.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vskills.in\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-17T14:08:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png\" \/>\n\t<meta property=\"og:image:width\" content=\"961\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/\",\"name\":\"Controllers - Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png\",\"datePublished\":\"2025-01-17T14:08:09+00:00\",\"dateModified\":\"2025-01-17T14:08:10+00:00\",\"description\":\"Controllers in Unreal Engine are used to manage how players or artificial intelligence (AI) control characters or other objects in a game.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#primaryimage\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png\",\"width\":961,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Controllers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"name\":\"Tutorial\",\"description\":\"Vskills - A initiative in elearning and certification\",\"publisher\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\",\"name\":\"Vskills\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"width\":73,\"height\":55,\"caption\":\"Vskills\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vskills.in\/\",\"https:\/\/x.com\/vskills_in\",\"https:\/\/www.linkedin.com\/company-beta\/1371554\/\",\"https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Controllers - Tutorial","description":"Controllers in Unreal Engine are used to manage how players or artificial intelligence (AI) control characters or other objects in a game.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/","og_locale":"en_US","og_type":"article","og_title":"Controllers - Tutorial","og_description":"Controllers in Unreal Engine are used to manage how players or artificial intelligence (AI) control characters or other objects in a game.","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2025-01-17T14:08:10+00:00","og_image":[{"width":961,"height":150,"url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png","type":"image\/png"}],"twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/","name":"Controllers - Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#primaryimage"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png","datePublished":"2025-01-17T14:08:09+00:00","dateModified":"2025-01-17T14:08:10+00:00","description":"Controllers in Unreal Engine are used to manage how players or artificial intelligence (AI) control characters or other objects in a game.","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#primaryimage","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png","width":961,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/controllers-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Controllers"}]},{"@type":"WebSite","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","name":"Tutorial","description":"Vskills - A initiative in elearning and certification","publisher":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization","name":"Vskills","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","width":73,"height":55,"caption":"Vskills"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vskills.in\/","https:\/\/x.com\/vskills_in","https:\/\/www.linkedin.com\/company-beta\/1371554\/","https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw"]}]}},"_links":{"self":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/138204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/comments?post=138204"}],"version-history":[{"count":2,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/138204\/revisions"}],"predecessor-version":[{"id":138206,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/138204\/revisions\/138206"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=138204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=138204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=138204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}