# Tutorial: Your First Game In Unreal Engine 5

**URL:** <https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139>\
**Category:** Tutorial & Course Discussions\
**Tags:** unreal-engine\
**Created:** [April 5, 2022, 12:00am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139 "2022-04-05T00:00:00Z")\
**Posts on this page:** 20\
**Page:** 10

<div class="post-metadata">

**Author:** ![Lehira95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lehira95](https://forums.unrealengine.com/u/Lehira95)\
**Post date:** [May 25, 2023, 8:49am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/190 "2023-05-25T08:49:37Z")

</div>

Hello! I finished the tutorial and I’m pretty happy about the result. However, I have two issues that I would like to fix and I wonder if someone can help me.

1. the player slides a bit when it follows the mouse;
2. the bot controlled by the AI doesn’t open the door when it runs on the button. Or better, it opens it but just a tiiiiiny bit. I thought that the problem was the collider, but the player can open it without problems and the cube as well.  
For the rest, it works like a charm. Thank you for this tutorial, and have a nice day everyone!

---

<div class="post-metadata">

**Author:** ![YourAbusiveDad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YourAbusiveDad](https://forums.unrealengine.com/u/YourAbusiveDad)\
**Post date:** [May 26, 2023, 6:23am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/191 "2023-05-26T06:23:40Z")

</div>

Super helpful. Love an easy fix!

---

<div class="post-metadata">

**Author:** ![Shoot\_Me](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shoot\_Me](https://forums.unrealengine.com/u/Shoot_Me)\
**Post date:** [June 5, 2023, 4:58pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/192 "2023-06-05T16:58:14Z")

</div>

Hello,

If you are the first step of the tutorial where the bot moves after a timer, make sure that the 0.0.0 location of your map is included in your nav mesh.

---

<div class="post-metadata">

**Author:** ![Shoot\_Me](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shoot\_Me](https://forums.unrealengine.com/u/Shoot_Me)\
**Post date:** [June 5, 2023, 4:58pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/193 "2023-06-05T16:58:37Z")

</div>

Hello,

At the doors opening step, my doors were both moving in the same direction. So I made these changes so they move in opposite direction.

 ![Capture](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/d/7dd9f45783897f50b52b46adca40c266bd28b830.png)

I double checked and everything seemed to be set up like in the tuto (anchor, 180 rotation). Any idea what could have gone wrong? These errors are perfect for learning.

And thanks for the tutorial, super useful!

---

<div class="post-metadata">

**Author:** ![Shoot\_Me](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shoot\_Me](https://forums.unrealengine.com/u/Shoot_Me)\
**Post date:** [June 6, 2023, 8:27am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/194 "2023-06-06T08:27:50Z")

</div>

Found the issue, I applied the 180 rotation to the door instead of to the anchor/

---

<div class="post-metadata">

**Author:** ![Xiarno1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xiarno1](https://forums.unrealengine.com/u/Xiarno1)\
**Post date:** [June 10, 2023, 3:06am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/195 "2023-06-10T03:06:26Z")

</div>

There is no “Actor” in the output of the function.  
 ![9796_9BO5HAyLpF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/e/9/2e9a2ba083bc3225e54825a884c3891cd5d81e1b.png)

---

<div class="post-metadata">

**Author:** ![Xiarno1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xiarno1](https://forums.unrealengine.com/u/Xiarno1)\
**Post date:** [June 10, 2023, 3:08am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/196 "2023-06-10T03:08:53Z")

</div>

@aliker88 Doesn’t work for me 😕

---

<div class="post-metadata">

**Author:** ![Xiarno1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xiarno1](https://forums.unrealengine.com/u/Xiarno1)\
**Post date:** [June 10, 2023, 3:08am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/197 "2023-06-10T03:08:54Z")

</div>

How do you move the origin of the level?

---

<div class="post-metadata">

**Author:** ![matthicks\_ok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@matthicks\_ok](https://forums.unrealengine.com/u/matthicks_ok)\
**Post date:** [June 11, 2023, 5:30am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/198 "2023-06-11T05:30:57Z")

</div>

@AndiEpic it would be a great tutorial if you gave the viewers more than 5ms to get to the buttons you’re clicking before you move on.

---

<div class="post-metadata">

**Author:** ![Cody325M](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cody325m/32/911474_2.png) [@Cody325M](https://forums.unrealengine.com/u/Cody325M)\
**Post date:** [June 13, 2023, 10:43pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/199 "2023-06-13T22:43:11Z")

</div>

Following along with the video can be difficult. Setting the playback speed to .75x or .5x can help. Add closed captioning. Additionally, rewinding the video 5 to 10 secs when you miss something. Quick rewind is not implemented here, so we luckily get to do it ourselves!

Using chrome dev tools add this code to the console

```js
document.addEventListener('keydown', function (event) {
    if (event.code === 'ArrowLeft') {
        const video = document.getElementById('vjs_video_3_html5_api');
        if (video) {
            video.currentTime -= 5;
        }
    }
});

```

Now you can use the left arrow key to rewind 5 secs! This is the first time I’ve ever done something like this, and I’m autisticHandFlapping.png that it worked.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/0/12061072ded85a4f08fc031371d4efcd49e76847.png)

---

<div class="post-metadata">

**Author:** ![Cody325M](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cody325m/32/911474_2.png) [@Cody325M](https://forums.unrealengine.com/u/Cody325M)\
**Post date:** [June 13, 2023, 10:53pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/200 "2023-06-13T22:53:42Z")

</div>

Oh, and this is my html code incase yours is different and you want to find it easy,

```auto
<div id="vjs_video_3"
    class="video-js vjs-controls-enabled vjs-workinghover vjs-v7 vjs-dash-hls-bitrate-switcher vjs-settings-menu vjs_video_3-dimensions vjs-has-started vjs-layout-large vjs-paused vjs-user-inactive"
    tabindex="-1" role="region" lang="en" translate="no" aria-label="Video Player"><video class="vjs-tech"
<!-- ****this v one is my id********* -->
        id="vjs_video_3_html5_api" tabindex="-1" role="application" playsinline="playsinline"
        src="blob:https://dev.epicgames.com/80ec1cf3-9a42-4918-8015-7f5beab3e102"></video>
    <div class="vjs-poster" tabindex="-1" aria-disabled="false"
        style="background-image: url(&quot;https://ue-cdn.artstation.com/imgproxy/PKpR71MYsPeSsdHAh1xtjt-cxaQQTq82D9IXwcgHRt0/filename:1_0gwrqewz.jpg/resizing_type:fit/width:1280/height:720/aHR0cHM6Ly9kMWl2N2RiNDR5aGd4bi5jbG91ZGZyb250Lm5ldC92aWRlby90aHVtYm5haWxzLzM3ZjdmN2NhLWFjNWMtNDg5Yy04NGE1LWZhMDE5OWYwNzE1My8xXzBnd3JxZXd6LmpwZw&quot;);">
    </div>

```

---

<div class="post-metadata">

**Author:** ![Cody325M](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cody325m/32/911474_2.png) [@Cody325M](https://forums.unrealengine.com/u/Cody325M)\
**Post date:** [June 13, 2023, 11:42pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/201 "2023-06-13T23:42:53Z")

</div>

I added a theater mode (up arrow key, and down arrow to return) so the video is big enough to see. You may have to tweak some values for the desired result. Additionally, right arrow key fast forwards 5 secs

```js
document.addEventListener('keydown', function (event) {
    const video = document.getElementById('vjs_video_3_html5_api');

    if (video) {
        if (event.code === 'ArrowUp') {
            video.style.width = '130%';
            video.style.height = '140%';
            video.style.zIndex = '9999';
        } else if (event.code === 'ArrowRight') {
            video.currentTime += 5;
        } else if (event.code === 'ArrowDown') {
            video.style.width = '100%';
            video.style.height = '100%';
        }
        else if (event.code === 'ArrowLeft') {
            video.currentTime -= 5;
        }
    }
});

```

just get chrome dev tools and paste that into the console.

---

<div class="post-metadata">

**Author:** ![realvjy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realvjy/32/1181011_2.png) [@realvjy](https://forums.unrealengine.com/u/realvjy)\
**Post date:** [June 17, 2023, 1:26pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/202 "2023-06-17T13:26:25Z")

</div>

First of all, thanks for the detailed explanation on how to create and set everything up from scratch. I have spent some time following everything as mentioned. However, I am currently stuck at a certain point. I have followed all the instructions, but I am unable to move the character to follow the cursor.  
See video. And here is the orientation setting turn on for character movement.

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/e/a7ed00b1d4140307b3d04410f8572e9253c7b263.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/e/a7ed00b1d4140307b3d04410f8572e9253c7b263.mp4)

 ![Screenshot 2023-06-17 015101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/c/eecb2cc7c81f0c962dd8a8deb4ea06c29b6d4d05.png)

**UPDATE - SOLVED:**  
Oh, I missed that. I noticed it mentioned in the course description. To resolve this issue, simply disable the “Use controller Rotation Yaw” option.

---

<div class="post-metadata">

**Author:** ![realvjy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realvjy/32/1181011_2.png) [@realvjy](https://forums.unrealengine.com/u/realvjy)\
**Post date:** [June 17, 2023, 6:07pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/203 "2023-06-17T18:07:13Z")

</div>

Oh, I missed that. I noticed it mentioned in the course description. To resolve this issue, simply disable the “Use controller Rotation Yaw” option.

---

<div class="post-metadata">

**Author:** ![Online\_Learner\_qAAx2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Online\_Learner\_qAAx2](https://forums.unrealengine.com/u/Online_Learner_qAAx2)\
**Post date:** [June 20, 2023, 6:06am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/204 "2023-06-20T06:06:06Z")

</div>

bad tutorial, very fase, no explanation, difference, between material and tutorial

---

<div class="post-metadata">

**Author:** ![Online\_Learner\_qAAx2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Online\_Learner\_qAAx2](https://forums.unrealengine.com/u/Online_Learner_qAAx2)\
**Post date:** [June 20, 2023, 7:42am UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/205 "2023-06-20T07:42:54Z")

</div>

I can`t make it run

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/1/181904a63b899f6f700ff067c4dff8566b67d7e9.png)

---

<div class="post-metadata">

**Author:** ![Muh242](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muh242](https://forums.unrealengine.com/u/Muh242)\
**Post date:** [July 9, 2023, 7:09pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/206 "2023-07-09T19:09:09Z")

</div>

there is a problem with the video playback. my connection is fine.

---

<div class="post-metadata">

**Author:** ![Lithicfeel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lithicfeel](https://forums.unrealengine.com/u/Lithicfeel)\
**Post date:** [July 12, 2023, 3:00pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/207 "2023-07-12T15:00:26Z")

</div>

Regarding 44:15 and the camera not rotating as it does in the tutorial after setting the _Orient Rotation to Movement_ property:

For anyone wondering where this _Use Controller Rotation Yaw_ property is, it’s in the _Details_ tab for the root _BP\_Bot (Self)_ component of the _BP\_Bot_ blueprint. Uncheck it, compile, play. Thanks @2winners!

---

<div class="post-metadata">

**Author:** ![Virgilius](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Virgilius](https://forums.unrealengine.com/u/Virgilius)\
**Post date:** [July 22, 2023, 1:08pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/208 "2023-07-22T13:08:49Z")

</div>

This tutorial WAS NOT GOOD AND I DO NOT RECOMMEND THIS TO ANY BEGINNER because:

Pacing was way to fast.  
A LOT is done but no explnations as to why.  
Too many new and different complicated things for a beginner to go trough. You’ll forget most of it and/or won’t learn.

What this tutorial is is someone who knows what they are doing creating a game and thinking out loud. And you’ll just copy everything trying to keep up.

As a beginner you need explanations, hand-helding and understanding. This tutorial is more for people that have gone past the “absolute beginner” phase.

I did learn some few things though.

---

<div class="post-metadata">

**Author:** ![huohengf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@huohengf](https://forums.unrealengine.com/u/huohengf)\
**Post date:** [July 24, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139/209 "2023-07-24T16:57:44Z")

</div>

The “Use controller Rotation Yaw” option : BP\_Bot(self) → Pawn → Use Controller Rotation Yaw

[Previous page](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139.md?page=9)

[Next page](https://forums.unrealengine.com/t/tutorial-your-first-game-in-unreal-engine-5/587139.md?page=11)
