The joy this has brought me is priceless, thank you for taking the time to create the tutorial. I've officially hit a milestone in my project - hats off to you and other UE creators!
Great video, quick little additional tip: The looping behaviour can be made a little more smooth if you change the distance input into "Get Transform at Distance Along Spline", into a "Get Distance Along Spline" %(Modulo) "Get Spline Length". That will always set the distance to be the remainder of the loop and not jump the character back to the start (0 point) of the spline when the loop is completed with an amount that does not equate to the exact length of the full loop.
@@Novarcharesk You would be correct, modulo is an operation, so it would be a couple nodes working together. Just look up Modulo, and use it with "Get distance along spline" and "get spline length"
Great job! Please tell me how to set up a trigger box so that the event starts after it is completed and not at the start of the game. If you could do a tutorial like this, I would be very grateful.
@@3DArtisanal create a spline actor in your scene..bro Go to the sequencer add the created spline actor... In spline actor click tracks >path> then your fbx animation.. You can control the speed by spline>duration (For spline actor
Gorka buenísimo tutorial como siempre claramente 🙌🙌🙌, lo que no he logrado aún, es que el carácter se pare cada "x" tiempo, y luego continúe por el spline, y luego se pare, y luego continúe, y así...
Great demo. I'm looking for information on how I would use different animations depends on the curvature at the current position of the character on the spline or something like that. So the character motion may look more realistic on hard curves.
@@alzahelb6053 indeed but I guess I'd need the spline curvature angle at the current position of character as an input in the animation graph of the character?
I like this can you elaborate on if you have the char on the spline and he spots the player can he chase off the spline and if he loses sight can he go back to the spline?
Wow, not sure anyone metioned this, but to make a object moving along a path you need a Blueprint University degree. It is complicated, not at all intuitive and almost impossible to debug.
Thanks for solution! As we know -in common 3d-editor - like maya or 3ds max - we can smooth spline or rebuild it that means that instead 5 point inside we will get 10 ones - can we do it in Unreal engine? What operations can i do with spline in UE?
Its possible to add a "Patrol" system with this to a NPC? The NPC will be able to stop following the spline to chase the player and then coming back to the Spline and continue the patroling normally?
@@TGMaiam make a new bp manager moviment using get moviment along spline (bp spline) + transfor moviment ( this video) and get player pawn. The get player pawn to move along spline.
Hey I was wondering if you knew how to make a character follow terrain or shift when too close too surfaces for example: idle animation has the right foot lifted becuase the right foot is standing on a rock while the left is on the ground
hermano una pregunta, si sigo tus tutoriales de animaciones para el rpg tipo assasins creed, podre cambiar el modelo de eskeleto despues? o voy a tener que hacer todo de nuevo. tambien pregunto si vas a hacer ese tutorial pronto. gracias y sigue con los tutos bro!
Do you have a tutorial for 3D motion? I've got a guy swimming in the air and when he is pointed up or down it's a little off he needs to rotate somewhat...
Can you please make a real tutorial on HOW to move a PLAYER/AI Character along a spline? Because this has been asked about in the forums since UE4 (bad methods/links outdated). And your vid is misleading, it is only how to Move a Character PROP along a spline - only good for something to look at in the background or people doing NON game cinematic - because if an AI is on the Spline and sees Player - the AI will keep looping. (New people may get false hope, thinking of Player/controllable Character when you say "Character." But your code doesnt handle the Player/AI Controller or transition on/off the Spline.) People are getting very frustrated at RU-vidrs who make incomplete tutorials that dont teach how to implement the feature or it's bugged. E.g. you could perhaps make a Correction video on how he did Move Player Character along a spline: /lDvBGYn-u-E?t=1378 I did this tut. I added Enter/Exit volumes that lock/unlock the player to the Spline > BPI call from Spline Actor to CharBP (movement code handled in CharBP). But the problem is with his code - it fights against the Player's Z movement. At the end of this vid, he said 'this vid is getting too long' - thus he never showed us how to fix the Z fighting. (Meaning if the Spline point is at Z = 100, but the terrain goes up like a ramp or if Player jumps, then as the Player is forced to go Z up, the Spline code fights against the Z. I split the location pin, but Z is still messed up.) So it would be helpful if you make a correction vid for 2023. Ty.
Hello, If you have not Solved this I can make one I solved this Issue. Character for Example is falling on a spline to a desired location of your choosing and then in turn at the end of the spline you can control your character. Keep in mind the Thing I solved is for the Player Character not AI/NPC.
@@HadesRage93 Thanks. Do you mean you can post a vid? I subbed. I almost fixed it weeks ago, found a better method to disconnect the Z pin and calculate better. But the intro/out box isnt working - making me face the wrong way. (Im going from 3D movement - to Sidescroller left-right movement - which the spline forces.)
@@kenalpha3 Yes, I'll Post a Video for you give me a bit I will be AFK a Few Hours then I will make one for you & anyone else that is stuck here. But still may need some work for your own Personal Touch after the video.