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.
the player slides a bit when it follows the mouse;
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!
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.
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.
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
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.
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
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.
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.
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.
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!
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.