{"id":138188,"date":"2025-01-16T18:10:10","date_gmt":"2025-01-16T12:40:10","guid":{"rendered":"https:\/\/www.vskills.in\/certification\/tutorial\/?page_id=138188"},"modified":"2025-01-16T18:10:11","modified_gmt":"2025-01-16T12:40:11","slug":"tutorial-6-creating-a-rotating-door","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/","title":{"rendered":"Tutorial 6 &#8211; Creating a Rotating Door"},"content":{"rendered":"\n<p>In Unreal Engine, a rotating door adds interactivity to your game. This tutorial explains how to create a door that rotates open and closed when the player interacts with it.<\/p>\n\n\n\n<p>Start by creating a new Blueprint Class. Choose &#8220;Actor&#8221; as the parent class and name it &#8220;RotatingDoor_BP.&#8221; Open the Blueprint Editor to set up the components.<\/p>\n\n\n\n<p>Add a &#8220;Static Mesh&#8221; component to the Blueprint for the door\u2019s appearance. Select a suitable mesh, such as a rectangular door model, from the Content Browser or import your own. Adjust its position and scale to fit your level.<\/p>\n\n\n\n<p>Next, add a &#8220;Box Collision&#8221; component around the door. This will detect when the player interacts with the door. Resize the box to cover the area in front of the door where the player will trigger the rotation.<\/p>\n\n\n\n<p>Go to the Event Graph to add logic for rotating the door. Add an &#8220;On Component Begin Overlap&#8221; event for the Box Collision. This event will execute when the player enters the collision area.<\/p>\n\n\n\n<p>To make the door rotate, add a &#8220;Timeline&#8221; node to control the rotation smoothly. Double-click the Timeline to open the Timeline Editor. Add a &#8220;Float Track&#8221; and create two keyframes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Time = 0, Value = 0 (door is closed).<\/li>\n\n\n\n<li>Time = 1, Value = 90 (door is fully open, rotates 90 degrees).<\/li>\n<\/ul>\n\n\n\n<p>In the Event Graph, connect the Timeline\u2019s &#8220;Update&#8221; pin to a &#8220;Set Relative Rotation&#8221; node. Set the target as the door\u2019s Static Mesh component. Use a &#8220;Make Rotator&#8221; node to specify the rotation axis. Connect the float output from the Timeline to the Yaw input of the Make Rotator node, as doors typically rotate around the Yaw axis.<\/p>\n\n\n\n<p>To close the door, add an &#8220;On Component End Overlap&#8221; event for the Box Collision. Connect this event to the &#8220;Reverse&#8221; pin of the Timeline to play the rotation backward, returning the door to its closed position.<\/p>\n\n\n\n<p>Test the rotating door by placing the Blueprint in the level. Play the game and walk into the collision area to open the door. Step out to see it close. Adjust the Timeline duration or rotation values if needed to fine-tune the animation.<\/p>\n\n\n\n<p>This setup creates a simple rotating door that enhances interactivity in your game. You can customize it further by adding sound effects, locking mechanisms, or triggers based on specific player actions.<\/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=\"\" 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>In Unreal Engine, a rotating door adds interactivity to your game. This tutorial explains how to create a door that rotates open and closed when the player interacts with it. Start by creating a new Blueprint Class. Choose &#8220;Actor&#8221; as the parent class and name it &#8220;RotatingDoor_BP.&#8221; Open the Blueprint Editor to set up the&#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-138188","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>Tutorial 6 - Creating a Rotating Door - Tutorial<\/title>\n<meta name=\"description\" content=\"In Unreal Engine, a rotating door adds interactivity to your game. This tutorial explains how to create a door that rotates open and closed.\" \/>\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\/tutorial-6-creating-a-rotating-door\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tutorial 6 - Creating a Rotating Door - Tutorial\" \/>\n<meta property=\"og:description\" content=\"In Unreal Engine, a rotating door adds interactivity to your game. This tutorial explains how to create a door that rotates open and closed.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/\" \/>\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-16T12:40:11+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=\"2 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\/tutorial-6-creating-a-rotating-door\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/\",\"name\":\"Tutorial 6 - Creating a Rotating Door - Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png\",\"datePublished\":\"2025-01-16T12:40:10+00:00\",\"dateModified\":\"2025-01-16T12:40:11+00:00\",\"description\":\"In Unreal Engine, a rotating door adds interactivity to your game. This tutorial explains how to create a door that rotates open and closed.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/#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\/tutorial-6-creating-a-rotating-door\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorial 6 &#8211; Creating a Rotating Door\"}]},{\"@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":"Tutorial 6 - Creating a Rotating Door - Tutorial","description":"In Unreal Engine, a rotating door adds interactivity to your game. This tutorial explains how to create a door that rotates open and closed.","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\/tutorial-6-creating-a-rotating-door\/","og_locale":"en_US","og_type":"article","og_title":"Tutorial 6 - Creating a Rotating Door - Tutorial","og_description":"In Unreal Engine, a rotating door adds interactivity to your game. This tutorial explains how to create a door that rotates open and closed.","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2025-01-16T12:40:11+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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/","name":"Tutorial 6 - Creating a Rotating Door - Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/#primaryimage"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2025\/01\/practice-test-banners.png","datePublished":"2025-01-16T12:40:10+00:00","dateModified":"2025-01-16T12:40:11+00:00","description":"In Unreal Engine, a rotating door adds interactivity to your game. This tutorial explains how to create a door that rotates open and closed.","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/tutorial-6-creating-a-rotating-door\/#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\/tutorial-6-creating-a-rotating-door\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Tutorial 6 &#8211; Creating a Rotating Door"}]},{"@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\/138188","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=138188"}],"version-history":[{"count":2,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/138188\/revisions"}],"predecessor-version":[{"id":138190,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/138188\/revisions\/138190"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=138188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=138188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=138188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}