How the hell did youtube never show me this video when i search "Unreal Engine Car Tutorial" also keep it up the quality is so good and there's no annoying music in the background
@Med-B3 жыл бұрын
also i'm new to unreal engine if you please could explain the small details like when you the path to array, what's an array i might be asking alot but these things help alot thanks
@Seredias.3 жыл бұрын
@@Med-B An Array is an Variable Type in the first place. Normally it is a List of Objects with an Index. An Array isnt only included in the Unreal Engine. Its included in the most commend Programing Languages.
@Med-B3 жыл бұрын
@@Seredias. soo is it better to learn C++ first before going into unreal or can i start getting the hang of it while using unreal engine
@Seredias.3 жыл бұрын
It would be a benefit, but you dont have to. The good thing in the Unreal Engine is the Blueprint Style. This allows you to set up functions visually. But I would recommand to learn some programming Basics like variables, loops and conditions.
@thenoobdev3 жыл бұрын
It shows nr. On my search for 'unreal vehicle ai' nowadays! Congrats op, great video 👏🏻
@a.thiago3842 Жыл бұрын
I just found your channel. I'm more of a visual coding guy. I'm very bad at coding. I always used Unity to try to create a AI traffic and it's very hard. UE seems to be more easy to work with that, cause you got a lot of visual functions and so on. I'll watch all the videos after i download the engine. I also watched 1 minute of your video and i can see that you have a good method to teach such complicated things, even for us whom has a little bit of ideia of how it works. Thank you! It will help a lot!!
@abbycleary70883 жыл бұрын
Thankful everyday for youtube tutorials like these
@Rcommentary3 жыл бұрын
I got a problem, I did all the steps but I can't find tangent and also path in the splines input
@sseba55tian Жыл бұрын
Thank you so much, I used your guide to make a boat float on water and follow a spline.
@vivegamespk9 ай бұрын
Thanks for this short tutorial for AI car following spline. its enough for my mobile top down stealth game
@supergui56652 жыл бұрын
I love your tutorials
@milkot7 ай бұрын
Tested, works on ue5.4. The only thing I don’t understand is why we search for a spline by class and then select the first one. It seems to me easier to immediately assign an instance to the selected path. Thank you for the video!
@Seredias.7 ай бұрын
Your right, that's why there is an Update Video for UE5: kzbin.info/www/bejne/d52wgaSQZ8lneLMsi=mLxO0S-Y6851tEFn
@Seredias.2 жыл бұрын
This will also work in UE5, just the usage of the Math Function has changed. There is also an Update Video: kzbin.info/www/bejne/d52wgaSQZ8lneLM
@qtouch69282 жыл бұрын
Hey @Seredis, can you do similar tutorial with the new UE5 City Sample Vehicles? I tried using one od the cars from the pack but steering is off, I had to do sharp turn with spline point of the road like 180 degrees to get it to steer correctly at 90 degrees angle. Thanks
@qtouch69282 жыл бұрын
@@Seredias. Thank you so much!! I will keep an eye. Keep doing the fantastic job my man
@Seredias.2 жыл бұрын
@@qtouch6928 Okay so I tried that now with the City Sample Vehicle and it works exactly the same. Important is that you setup everything on the Parent BP_Car.
@qtouch69282 жыл бұрын
@@Seredias. Hmm that's odd, actually I used AIController to decouple AI logic, maybe there something different with that approach, what throttle value did you use?
@Seredias.2 жыл бұрын
@@qtouch6928 I used the "Set Throttle Input" of the Vehicle Movement.
@PurrfectTech Жыл бұрын
i just found what i had in mind and this helped alot hope you keep teaching and we"ll keep suporting THANK YOU
@Paw_Plays3 жыл бұрын
Thanks for the video. Too good. Great tutorial. This will help me a lot in my project.
@shanethomas8147 Жыл бұрын
I love your videos, watched about 30s of one and subbed immediately haha was trying to get my head round this one with UE 5.1 and the difference in the engine-provided car project is (at least superficially) substantial! Any plans on redoing this series? or a follow-up video with some pointers on where the differences are? I'll muddle through with what's here anyway but I'm sure its something that would be appreciated! Especially as its something that is hard to find any quality tutorials for! Thanks for the great content!
@Seredias. Жыл бұрын
I already started season 2: kzbin.info/www/bejne/d52wgaSQZ8lneLM
@EthanFilms3 жыл бұрын
Does this work with splines created within the landscape editor? Would save me from having to make a second set of splines!
@ikubaru973 жыл бұрын
mega pogchamp, thank you sir
@3dgentilearchitetto Жыл бұрын
*Update: sorry I just found you already started an updated series for UE 5, thank a lot!* My question before the above update was --> [Get Path doesn't work to me using UE 5.3 as I can't find a right valid node to link between "GET (a copy )" anf "Find Tangent Closest to World Location", so I can't compile the function, have you some tip? Anyway I appraciate very much your explanation!]
@Fafmagic2 жыл бұрын
Just found your channel - quite by accident. Love the content on vehicles. Do you have any plans to explore multiplayer vehicles? I have other videos on the subject but the way you cover things really works with how I learn. No worries if not. Keep up the great work!
@Seredias.2 жыл бұрын
Actually I worked on a Multiplayer Vehicle System. Like GTA Online. But currently I get to many Bugs on the Client side.
@natishmaac2 жыл бұрын
at 4:23 in my Unreal engine4.27 "Navigation path" and "path following component" are visible but "path" is not showing , please help
@Seredias.2 жыл бұрын
How did you call the Blueprint Actor? 2:35
@natishmaac2 жыл бұрын
@@Seredias. resolved, thank you very very much... you are great............
@kaankivilcim78418 ай бұрын
Hello again. I completed my traffic system with your help. Thank you very much. Everything works as it should. Now I need to change the meshes of my cars. This is where a problem that I cannot solve begins. When I change the meshes, the system continues to work. (Except for some meshes.) However, the wheels of none of the meshes turn. It is neither on its own axis when going straight nor on its rotation axis when cornering. At first I thought there was a problem with the frames of the cars I had, but no. All are suitable for the project. Do you have an idea? What do you think I can do?
@Seredias.8 ай бұрын
I would recommand this one: kzbin.info/www/bejne/kJClmIGOqa2Erdksi=TqFWwvbL8VFHwiQU
@OptedOberst3 жыл бұрын
Thank you for this! Very helpful! :)
@olisil3 жыл бұрын
How do I do the "vector * float" and "vector * vector" operation nodes in UE5? Not available...
@xrecruit3 жыл бұрын
Literally type vector * float....lol yea I was confused in my beginning
@TurboDaan2 жыл бұрын
@@xrecruit Select multiply (under Operators) - and convert the pin to float afterwards (which originally is another vector)
@xrecruit2 жыл бұрын
@@TurboDaan lol wrong person I know how to do it
@Phoenix_VR3 жыл бұрын
Awesome Tut man, how to make it set a speed and a direction at run time by the user?
@EF12-073 жыл бұрын
Could it work by some activation? For example: In a cinematic, the hero runs and rides a horse, and, when the cinematic finishes, I want the horse runs and still running without my control, because I need my hands for the bow and for my own defense. Other question: Could this tutorial work in a Third Person Project, with other imported things, like a motorboat, a car, or a horse?
@Seredias.3 жыл бұрын
A Horse would be another type of AI. So it would work but with a different function as in the Tutorial. This would also work in a Third Person Projekt as you can see in my Traffic Tutorial.
@Seredias.3 жыл бұрын
By the Way, the example is a cool Idea. Is it okay for you, if I make a Tutorial about this Scene?
@EF12-073 жыл бұрын
@@Seredias. I think it's an excellent idea. Not only for me. For all than have this question
@divisionsoftware2 жыл бұрын
I have problems with the Path Actor. How do you add this points?
@Seredias.2 жыл бұрын
Just hold the "Alt" Key and pull a Spline Point.
@shoaibmujtaba81232 жыл бұрын
Love you Brother you are really helpful for me you are legend
@shanekruger94127 ай бұрын
love your stuff!!! 1 thing i've noticed is that when using chaos vehicle and a spline on curved roads, the chaos vehicle does not respect the spline it's suppose to be following, it deviates from the spline alot, any work around this??? i was forced to used a non physics static mesh to follow spline for accuracy, but doesn't look realistic😭😭😭
@Seredias.7 ай бұрын
There a few things to optimize it. First you can reduce the tolerance, that's the multiplication inside the "Get Path" function, to be more precisely. Then place an Arrow in Front of the Car, inside the Car Blueprint and get the Location of the Arrow instead of "Self". And last but not least, since the Physics Engine is pretty good, you need to reduce the Speed in Curves. If you are using UE5, I would also recommand Season 2 of the Tutorial Series.
@shanekruger94127 ай бұрын
@@Seredias. aaah thanks man!!! i'm really going to try that out for sure 😁
@shanekruger94127 ай бұрын
tried it, and works perfectly now. thanks you're a life saver!!!
@BillybobsPainting Жыл бұрын
how could you make the path dynamic at runtime ? ex, player prompted to click(and hold down) on map for starting point. then player then traces a path(while still holding down mouse button). then player releases mouse button(and this creates the ending point.
@Seredias. Жыл бұрын
I would say, similar to this here: kzbin.info/www/bejne/b3vPemt-bt6aoM0si=BCfZVCK7drzF1SZp
@BillybobsPainting Жыл бұрын
ty @@Seredias.
@BillybobsPainting Жыл бұрын
i am trying to use UE(v5.3.2) and trying to follow your tutorial but sadly, 4.25.4 is very much different than 5.3.2. Anyways thanks for the tutorial. and appreciate your speedy answer. thanks !!! @@Seredias.
@Seredias. Жыл бұрын
@@BillybobsPainting There is an Update Version for UE5: kzbin.info/www/bejne/d52wgaSQZ8lneLMsi=EctAFJaiXIUiU7E-
@Cultofcosmossubscriber3 жыл бұрын
My Target Splines node is not coming at 5:07
@Seredias.3 жыл бұрын
When you go from the Array Copy, did you search for "Find Tangent"? If this doesn't work, be sure you set the Spline Component inside the Path.
@Cultofcosmossubscriber3 жыл бұрын
@@Seredias. Hi it is working now. But I am having the problem in setting up the spine. So please help me I can't create more then two points and I can't even rotate properly. By the way thanks for your quick reply
@Seredias.3 жыл бұрын
@@Cultofcosmossubscriber Just hold Ctl and Pull the Spline, so you can create multiply Points.
@Cultofcosmossubscriber3 жыл бұрын
@@Seredias. It Worked
@Cultofcosmossubscriber3 жыл бұрын
@@Seredias. But when the AI car is driving and when there is turn the car rotates too much
@feuerbreit Жыл бұрын
Hi thanks for the tutorial. I have such a problem. Traffic cars crash into invisible obstacles. It feels like in the Spline itself. Please tell me what could be the problem?
@Seredias. Жыл бұрын
The only thing I can tell is, that the Spline can not be the reason cause it only control the Steering of the Car. So I guess your using a custom Car which has collision or physics Problems.
@feuerbreit Жыл бұрын
@@Seredias. thanks man
@bartoszkarasinski66072 жыл бұрын
I don't have this "Find Tangent to closest world location". I work in UE5. Do you know why?
@Seredias.2 жыл бұрын
Its "Find Tangent Closest to World Location" in UE5, same in UE4.
@ThinkAlienly2 жыл бұрын
I would appreciate if you helped me but I have a major problem: I set up everything and I do exactly like you do my only problem that the vehicle does not follow the path I did with splines why?
@Seredias.2 жыл бұрын
Important is the GetPath Function 4:00 and the call of the GetPath Function 7:10. So please check this again.
@ThinkAlienly2 жыл бұрын
@@Seredias. I did the function and I did call it but the car does not seem to follow the path I created, it just moves randomly or at the least follows a different path
@Seredias.2 жыл бұрын
@@ThinkAlienly Did you have multiply Parts or one? And did you use UE4 or UE5?
@ThinkAlienly2 жыл бұрын
@@Seredias. multiple parts of what? I am using UE5 and it is frustrating it should work but something is wrong
@Seredias.2 жыл бұрын
@@ThinkAlienly Multiply Spline Actors, so that the Car don't know which one to follow. Try to set the Trottle Input to 0.3 by the way, to see if its a physics Problem.
@TurboDaan2 жыл бұрын
@Seredias - if I would want to use this tutorial in UE5 - is there an easy way to (1) get the UE4 vehicle template objects imported in UE5 project or (2) is there a corresponding UE5 Vehicle template object for each UE4 vehicle template object you are using? With the chaoscar and sportscar, i'm not sure if the same results can be achieved easily.
@Seredias.2 жыл бұрын
It should work with both Templates, but I would recommand the Sportscar.
@TurboDaan2 жыл бұрын
@@Seredias. thank you - i just tested and this is correct. Only few functions are different, but not too much. Another question - why not use a behavior tree for implementing the different decisions the car has to make?
@Seredias.2 жыл бұрын
@@TurboDaan Of course you can do that. I just want to do the first Video as simple as possible. :)
@vamuse2 жыл бұрын
Nice solution. The way to got the world location out of the spline actor was very clever. However... doing any kind of "Get All actors" function out of Event Tick is a BIG no no... as you start to add more splines and cars it will start to prove very non-performant. A better solution would be to do that get all actors function at the Event Begin Play and store that in a variable; or perhaps just making a reference to a public variable and then assigning it in the details view. But doing Find or get actors of type at every tick is extremely inefficient.
@Seredias.2 жыл бұрын
Your right, thats why I invanted this: kzbin.info/www/bejne/fmnFY6NtgZadZ8U
@hariomarts77503 жыл бұрын
How can we avoid obstacles in ai cars plz make a tutorial 😭😭😭🙏🙏🙏
@Seredias.3 жыл бұрын
I will do a simple Traffic Tutorial don't worry.
@Michael-yy9dy3 жыл бұрын
Yep it Would help much
@omersaidsaydan2 жыл бұрын
Help me. In the Get actor location(GetPath) Compiler says need a connection. Anybody can help?
@Seredias.2 жыл бұрын
The Function has to be a Part of the AI Car, couse than "Get Actor Location" is reference to self. 5:09
@MBArgentina3 жыл бұрын
That map reminds me of a publication, have you solved the problem with client replication? Thanks for the tutorial!
@TurboDaan2 жыл бұрын
When we would set the vehicle to drive backwards (eg by putting gear to -1), how would we need to adapt the steering function input to follow the spline?
@Seredias.2 жыл бұрын
That's a good question. The Problem is that the function is based on the Actors Rotation. So you have to find a way to invert the Rotation of the Car.
@zcypher65583 жыл бұрын
I've got a problem. Followed all steps but the ai did'nt follow the actor path, any help? :c
@Seredias.3 жыл бұрын
Hold "Alt" and pull the Points.
@zcypher65583 жыл бұрын
@@Seredias. Thanks! i've figured that out but now there's another problem, My ai doesn't slow down when taking a corner. As a result, The ai crashed out from my track.
@Seredias.3 жыл бұрын
@@zcypher6558 Yeah, I forgot to say that the Throttle Input has to be 0.5 I explain that in the second Tutorial.
@cybertimon93533 жыл бұрын
I have the same problem, how did u fixed it?
@zcypher65583 жыл бұрын
@@cybertimon9353 Do you want the fix for the "ai didn't follow your spline" or "ai followed the line but crash out of track"?
@DocCube2 жыл бұрын
Awesome tutorial! What would i need to do to have the car stop at the end of the spline without having to use another object?
@Seredias.2 жыл бұрын
You can do that by changing the GetPath Function a little bit. 1. So take a Branch between the Input and the Output of the function. 2. Go from the Spline and get the "Get Number of Spline Points" and the "Get Location at Spline Point" 3. Connect the return value of the "Get Number of Spline Points" with the "Get Location at Spline Point" Point Index. 4. Get a reference to Self, from self "Get Actor Location". 5. Take the Return Value of the "Get Location at Spline Point" and get an "Equal (Vector)" 6. Connect the return Value of the "Get Actor Location" as well with the "Equal (Vector)". 7. Change the tolerance of the "Equal (Vector)" to 50. 8. Connect the Return Value of the "Equal (Vector)" with the Branch. Thats it, hope that helps.
@bartoszkarasinski66072 жыл бұрын
Hi Seredias, i did some of yours tutorials and i have a quetsion. My AI car dosen't follow exactly the path witch i have created. It goes more or less along the spline (sometimes it goes more on the right side sometimes it goes more on the left side). Do you know what might be the case?
@Seredias.2 жыл бұрын
How much Throttle Input have you set? I ask because, if the Car is to fast the sliding is a Problem.
@bartoszkarasinski66072 жыл бұрын
@@Seredias. i have 0,5
@bartoszkarasinski66072 жыл бұрын
and it doesn't matter how much it goes, 0,1 or 0,5 there is allways this problem
@Seredias.2 жыл бұрын
@@bartoszkarasinski6607 Which Car did you use?
@bartoszkarasinski66072 жыл бұрын
@@Seredias.I used some car from 3dsky. But it finally worked out! Apparently my car was driving too fast and what i did also is i set up the rear wheels to be affected by steering and i set this value to 5. Thank you one more time for you content. You really taught me how to set up car and how to "make it work" in ue and finnaly this week i'm finnaly finishing my animation :D
@executeorder66673 жыл бұрын
So can I have a car follow multiple paths depending on the button I press. I’m basically using it as a taxi
@Seredias.3 жыл бұрын
Yeah thats right. I explained that in this Tutorial: kzbin.info/www/bejne/qHnCYYOCgqyggNk
@-HyPe_x72 жыл бұрын
Hi, I'm not sure you are gonna see this, but I'm having an issue. My spline is a long straight, a 180º corner and another straight so that the car goes, turns around and comes back, but when it reaches the corner and starts turning, it doesn't stop. I don't know why. I set the steering value to be printed on the screen and initially it turns a little, but I think the car is just correcting the trajectory, turns a little to the right, then left and goes straight. That's fine, but when it should be coming out of the corner it just doesn't stop turning. I tried several of the tips in the comments but nothing worked. Changed the throttle, the normalization value, max speed, but nothing works. Any help?
@Seredias.2 жыл бұрын
Try to separate the Lines a little bit more. The AI try to find the nearest Point. I would say it has a Problem with that, because the Lines are too close.
@aasifsaifi56362 жыл бұрын
Hello, how are you I have a question when I was creating the spline it was in a straight line can you help me
@Seredias.2 жыл бұрын
When you hold Ctrl and pull a Spline Point, you can create a new one.
@aasifsaifi56362 жыл бұрын
Thank you very much for your quick response.
@vfam3522 жыл бұрын
Okay, so I've been trying to figure out what I think a few people in the comment section here are having issues with because I'm having the same issue. I'm using 4.26.2 and when I load in a default simple vehicle load out I can successfully get the AiSedan to follow a spline path. When I try to do the exact same steps in my project I'm unable to get the AiSedan to follow the path and have it kind of turn back and forth. It almost seems like the "GetPath" function we are making isn't referencing the spline path for some reason. I don't think I'm making any mistakes in the function as it's actually pretty simple and straight forward after me trying to figure this out for hours. Any idea's on what it could be? I'd really like to move on to your other tutorials but seem to be stuck. Maybe I should try a different version of UE4?
@Seredias.2 жыл бұрын
To make it easier for the AI Car, you can replace the "Get All Actors of Class" 7:20 with a self created Variable called "Active Path". The Variable Type would be "Path Object Reference". Than make this Variable Public ( That means the Eye is open). If you now place the AI Car inside the World, you can manuell set the Path the AI should follow. By the Way I can also recommand this Tutorial for those kind of Problems: kzbin.info/www/bejne/fmnFY6NtgZadZ8U
@vfam3522 жыл бұрын
@@Seredias. I've done your suggestion but the AI sedan still doesn't want to follow the spline, instead just drives in a random direction turning right then left over and over. I can get it to work in the fresh simple vehicle set-up which is a little bit frustrating I'm not able to figure this out. I'm not sure what I'm doing wrong. Should I try to delete all of my ai stuff out of my project folders and start again? Or maybe the wheel bones when imported aren't in the right order from blender compared to the stock vehicle?
@vfam3522 жыл бұрын
@@Seredias. Okay I just fixed this but maybe you could give me some insight to why this fixed it. I switched the "Fine Look at Rotation" and "GetActorRotation" links in the "Delta(Rotator) so the "Find Look at Rotation" is plugged into B and the other "GetActorRotation" is in A. Not sure how that makes a difference but is not following the spline.
@RetroidsMusic Жыл бұрын
BRO THANKYOU my car was just going in circles, i did the same thing, now it works! @@vfam352
@saitexe43942 жыл бұрын
How do you make the spline longer? I put it in and I can only extend it once. Did I miss something in the video?
@Seredias.2 жыл бұрын
When you hold Ctrl and pull a Spline Point, you can create a new one.
@Masakralny3 жыл бұрын
You're my hero!!!
@furqanmalik24102 жыл бұрын
Hey My other skeletal mesh car not working with this script. It just start floating. What should i do?
@Seredias.2 жыл бұрын
The Animation Blueprint is not setted or not compatible with the Skeleton that you use. So try to set it, or if you already did that, check the Skeleton Mesh.
@mohittayal57172 жыл бұрын
What algorithm are your using to calculate the path. Could you tell me name of algorithm please?
@Seredias.2 жыл бұрын
Its a combination. So the First Part resolve the rotation angle between the Actor Rotation and the next Spline Tangent. The second Part is this: docs.unrealengine.com/4.27/en-US/BlueprintAPI/Math/Float/MapRangeClamped/
@adiladilov86553 жыл бұрын
A lot of thanks man
@gamingmax63813 жыл бұрын
I have a problem in the 4.26.1 lester step error: This blueprint (self) is not a Path_C, therefore ' Target ' must have a connection. my English is bad. good tutorial 👍👍👍
@efeyenen56083 жыл бұрын
Bro u found it you need the delete everything Presst the Target 1 tab comed select everything than delete
@allashama3 жыл бұрын
Good tutorial, but you Skipped the Animation BluePrint, which is an important part, and you should just explain a little bit, what you do. Like Delta Rotator? new Node for me lol.. and i still have difficulties to understand the Normalize node.. no one is able to explain it well.. they seems confused just by explaining it.. so of course, we become more confused too lol.
@devin181012 жыл бұрын
Thank you sir.
@nahiansharif42003 жыл бұрын
:( I tried using my own mesh.... it doesnt work...
@Seredias.3 жыл бұрын
Your Mesh has to be the class "Wheeled Vehicle". Than it will work.
@@Seredias. Noo bro..I was facing the issues like when i used those AI Car and path is my own scene (level map) and when i was in play mode the AI car was not visible.. How to fix that?
@praveenparish41993 жыл бұрын
@@Seredias. But it was working fine on a blank empty project
@natishmaac2 жыл бұрын
how to set loop in it? like when car come to end point, than it will start again from starting point...
@Seredias.2 жыл бұрын
Just bring the last Spline Point and the first one near to each other.
@natishmaac2 жыл бұрын
@@Seredias. what if i want to make a straight spline in which i like to make a loop car animation, once car reached to the last point of spline, than it will return to starting point, and this process going on like loop
@Seredias.2 жыл бұрын
@@natishmaac Should the Car just Teleport or should it make a turn and drive in the opposite direction?
@natishmaac2 жыл бұрын
@@Seredias. it should teleport to starting point and drive again to the end point, like loop,
@Seredias.2 жыл бұрын
@@natishmaac The easiet way to do that, would be an Blueprint Actor with 2 Collision Boxes, one on the Start of the Spline, one at the end. Than you take the Begin Overlap Event of the one at the End, cast to the Car and call the "Set Actor Transform" and check Teleport to true. Only set the Location of this Function to the Location of the Box Collision of the Start and thats it.
@pavelprykhodko7432 жыл бұрын
I created a new project for this tutorial. the bot goes very fast and does not follow the set route, but what could be the problem?
@Seredias.2 жыл бұрын
Did you set the Trottle Input to 0.5? And please check the Tick Event there is something missing.
@pavelprykhodko7432 жыл бұрын
@@Seredias. Thanks a lot! I don't understand how I missed it
@jediskywalker86703 жыл бұрын
Interesting they don't allow to get the tangent for the spline point at the given location, only at base points, so first you have to find the closest tangent vector and then the closest point
@jediskywalker86703 жыл бұрын
How many tangents they actually count for Find Closest Tangent?
@munuberaoficial642 жыл бұрын
a question my car does not want to turn at all i did it step by step but it does not turn my car it just goes forward but it does not turn
@Seredias.2 жыл бұрын
Just check the "Set Steering" function again. Something is missing. 7:15
@munuberaoficial642 жыл бұрын
@@Seredias. actually mine is just like yours but i'll look and another one i speak portuguese i'm communicating with you thanks to google translator lol
@munuberaoficial642 жыл бұрын
@@Seredias. if you release the project download it would not be good only for me but for other people and it would help a lot
@Seredias.2 жыл бұрын
@@munuberaoficial64 Of course I don't have the Project File anymore, since this Video is currently 1 and a half years old. I would recommend to check the Get Path function again.
@munuberaoficial642 жыл бұрын
@@Seredias. ok I'll check here if it is I'll tell you
@Nightmare-0099 Жыл бұрын
Is this playlist working on 5.1 ?
@Seredias. Жыл бұрын
Yes, it does.
@adeleinecastillo61042 жыл бұрын
Awesome tutorial, btw I am trying to code in blueprints a similar approach to this but for human npcs. I am trying to make a level where the ai and player must follow a track to complete a race in foot. My biggest issue that I have is that I want the AI's to change path if the player is near or if any other npc is near. I want to stop that path and make them follow a new one from the last point in the current path but in the new one. Do you have any suggestions on how can I approach this? (I am not using behavior trees). Thanks for the tutorial :)
@Seredias.2 жыл бұрын
For NPCs you can use the integrated "AI Move to" Function. I already make a Tutorial for that: kzbin.info/www/bejne/iZfRp5Wwm6yNpKc
@Limegreengamer92 жыл бұрын
How would I customise the speed so the cars go faster?
@Seredias.2 жыл бұрын
That's very simple. Just ajust the Trottle Input. It goes from 0 to 1. So half Speed would be 0.5. But be carefull with the Physics Engine. When you set the Speed to high, the Car will break out in the curve.
@kalumindika22663 жыл бұрын
Hi can you gave how to make call of duty, GTA V and pubg like games in unreal engine
@ameygirkar46753 жыл бұрын
Not able to make curve using spline
@Seredias.3 жыл бұрын
Hold "Alt" and pull on the Spline-Point.
@cherezrulkin2 жыл бұрын
Hello. please tell me, an easy way to replace the default model with something else? for example, cars from evermotion collections Привет, подскажите пожалуйста простой способ заменить исходную модель на какую то свою?
@Seredias.2 жыл бұрын
I´m not familiar with the Evermotion Cars, but if the have a Skeleton Mesh, you can import them to the Unreal Engine. Than you just create a Wheeled Vehicle with the Skeleton Mesh.
@cherezrulkin2 жыл бұрын
@@Seredias.I already found some tutorials on this topic. how to create a skeleton of my model and import it into the engine, the wheels fell off in the first attempt)))
@Seredias.2 жыл бұрын
@@cherezrulkin Okay, think I will make a Tutorial about.
@AhmetOZAN Жыл бұрын
TAHNKS BRO GOOD JAB :)
@ciarangaming75632 жыл бұрын
How do u make it turn quicker
@Seredias.2 жыл бұрын
By increase the Throttle input.
@ciarangaming75632 жыл бұрын
@@Seredias. it still bearly follows the path
@Seredias.2 жыл бұрын
Because of the slide I guess, right? Than try out this: kzbin.info/www/bejne/bKepi2yXobZ-p6s
@@577prod Of course, but if you use UE5, I would recommend the Updated Version. Link in the Description.
@577prod3 ай бұрын
How does it work? Can you explain it in more detail in the latest version? It works with UE5, right? Can you please provide a new tutorial?
@Seredias.3 ай бұрын
@@577prod Exactly the same, just the Math Functions changed a little bit in the usage. Thats why I created a new Tutorial as I said.
@360383 жыл бұрын
My path did not curved plz help
@Seredias.3 жыл бұрын
You mean you can't draw a curve? If yes, just hold Ctrl and pull the Spline Point.
@360383 жыл бұрын
@@Seredias. Thanks, but from another tutorial I can curved it and just tell me the shortcut key of DUPLICATE SPLINE POINT, please
@aliabdelsalam69913 жыл бұрын
My ai in the end path not stop and rotate around itself
@Seredias.3 жыл бұрын
Because it still have a Throttle Input and try to find the next Point, but there is no more. Just connect the last Point with the first one and it will be work.
@aliabdelsalam69913 жыл бұрын
I connect last point to first that work as loop thank you
@xrecruit3 жыл бұрын
My cars makes a hard right and takes off and never to be seen again 😒....I followed everything and it does the same thing.....
@Seredias.3 жыл бұрын
I would say please check the GetPath function again something is missing. And try to set the Throttle Input to 0.5
@xrecruit3 жыл бұрын
@@Seredias. it was a In range in the map range clamped....both where negative smh.
hey, can u make a video to show the distance travell by car in km or u can share bp
@Seredias.3 жыл бұрын
Sure, thats a good Idea.
@AdireetiVlogs3 жыл бұрын
@@Seredias. plz 🙏🙏🙏🙏make it sure as soon as possible bcz I'm stuck in middle of my car simulator game plz plz
@SammyOliveiraAfonso3 жыл бұрын
Very Nice, but if cross the path? The AI will Avoid?
@Seredias.3 жыл бұрын
I explain that in my second Tutorial. kzbin.info/www/bejne/fX2vo62bm8etapo
@edgesvideogames55823 жыл бұрын
Looks great, what happens when you crash your car into the ai car?
@Seredias.3 жыл бұрын
It still try to reach the next Point. If you want to change that, take a look in the Traffic Tutorial.
@grifor56643 жыл бұрын
hi, how can i do loop follow path ?
@Seredias.3 жыл бұрын
Just connect the End Point with the Start Point.
@grifor56643 жыл бұрын
@@Seredias. I try but error - infinite loop detected
@ZachGrabas3 жыл бұрын
@@grifor5664 go to the path blueprint, select the spline, and click “closed loop” so it’s true.
@grifor56643 жыл бұрын
@@ZachGrabas THANKS!
@JoelDiab3 жыл бұрын
When I create the function, I can't change the function to path, can you help? Great video!
@Seredias.3 жыл бұрын
Did you create the Blueprint Actor and compile and save it before?
@JoelDiab3 жыл бұрын
@@Seredias. Ohhhh I got it. It was called road and not path so I couldn't find it. Thank you for your help and this awesome video!
@bananacomputer93513 жыл бұрын
What will happen if you crush that AI car away from the path?
@Seredias.3 жыл бұрын
It will still try to follow the Path
@Kringlebeast2 жыл бұрын
@@Seredias. AI is buddhist, nice video btw.
@k9lm7g803 жыл бұрын
Where can I adjust the speed of ai
@Seredias.3 жыл бұрын
You have to set the Throttle Input. It goes from -1 to 1. So half speed would be 0.5.
@k9lm7g803 жыл бұрын
@@Seredias. Thank you
@kalumindika22663 жыл бұрын
Wow super
@TorQueMoD3 жыл бұрын
I can't figure out why, but my AI doesn't follow the path properly. He just drunkenly weaves around the path and misses following it by miles. Any idea why this would be happening?
@TorQueMoD3 жыл бұрын
So I played around with it a bit more and found out that my vehicle speed was too high and the 500 value you used after the normalize is how far down the track it's looking for a rotation. A value of 3000 worked a lot better, but he's still over correcting. Is there any way to get the vehicle to follow the spline more precisely?
@Seredias.3 жыл бұрын
Actually I work on a way to calculate instead of drawing the Path. This should be more precise.
@leadedbubbles993 жыл бұрын
thanks
@nishantshilwanikar60373 жыл бұрын
my AI is following his own pathh daa fauqqq
@KC-dj6el3 жыл бұрын
I got the same problem xD
@rathore39912 жыл бұрын
Did you solve it
@misternome31152 жыл бұрын
Delta Rotator looks different that yours
@Seredias.2 жыл бұрын
Okay, I just can say it is the same even in UE5.
@tertban26863 жыл бұрын
лучший
@ivan-pašti3 жыл бұрын
ai dont follow path but i did everything
@AliefChandra-dn4eq Жыл бұрын
Me too
@predakinggaming535510 ай бұрын
Same here man
@fatswang46433 жыл бұрын
That's awesome In Chinese,it's 太他妈牛批了!!!!!!!!
@JoJoLv1072 жыл бұрын
ok!
@DRAWKCABLLA3 жыл бұрын
this only works with the shit car that no one is going to use m8
@b-wall75272 жыл бұрын
No it works with my own vehicles. I ahve 10 Vehicles and i can ahve AI posess any of them and follow the path.