How to make a Directional Movement System on Roblox Studio

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 464

  • @truestbluu
    @truestbluu Рік тому +41

    that's actually a pretty smart way of doing it, i might try and make this myself

  • @harushinwhatever
    @harushinwhatever Рік тому +105

    This is a great tutorial I just found, though I usually make strafe movement animation inside the loop by using look and right vector for CFrame and angles for motor6d and is much better since it works perfectly with mobile joystick and is super smooth in all direction imo... But this video helps better for beginners but my method is probably complicated but easily understandable.

    • @devdump
      @devdump  Рік тому +10

      Well this method does work with mobile joystick too, but yeah if you don't want to make like a bunch of animations the motor6d method is better

    • @itsmejustin3265
      @itsmejustin3265 Рік тому +1

      @@devdumpDoes it also work with AI too? if not what would you do?

    • @krow_fan9
      @krow_fan9 Рік тому

      fr

    • @profesionalshitposter675
      @profesionalshitposter675 10 місяців тому

      @@devdump btw u dont have to make ur own animations u can steal the animation or leave the rig and the server animations on a roblox file

  • @zaylazy5714
    @zaylazy5714 Рік тому +41

    Thank you so much bro! I have been trying to figure this out for so long but nobody has posted a video about this... You just earned a new sub! I would love if you could make more advanced tutorials in the future, they would help so much!

    • @Therealanassela
      @Therealanassela Рік тому +2

      GUYS ARE YOU BOTS???? THAT DOESNT WORK

    • @zaylazy5714
      @zaylazy5714 6 місяців тому +1

      @@Therealanassela it works for me lol and im definitely not a bot

    • @Prodby_Dre
      @Prodby_Dre 5 місяців тому

      lol you made this comment seem so ai generated

  • @perialis2970
    @perialis2970 Рік тому +4

    i remember a game inspired by overgrowth in roblox
    it wasnt really a game but like a testing place made by some player, i remember that he somehow made the legs actually be like it is in overgrowth (i highly reccomend you look at the real game), the leg's foot actually stays in one spot while the torso moves and the other leg.
    i think its an algorithm but how he do it its so good, like it looks physically right.
    edit nevermind he already made a video about what i was saying, and i know the name to this now thanks to him. (footplanting)

  • @MyNameJeffOG
    @MyNameJeffOG 6 місяців тому +3

    i wouldve never thought of making it like this in a million years, very clever!

  • @Togawaaa
    @Togawaaa Рік тому +4

    I LOVE YOU, I'VE BEEN SEARCHING SOMETHING LIKE THIS FOR YERS, YOU SAVED ME!!

  • @CinarTG2023
    @CinarTG2023 Рік тому +26

    If you combine this with camera swaying/bobbing movement, it actually looks fire

    • @galacticdragon9841
      @galacticdragon9841 11 місяців тому +3

      and a ramp rate for the character walk speed, the small bit of accel makes it a lot more realistic even if the ramp rate is just like 0.5 seconds to max walk speed.

  • @zombieskel4114
    @zombieskel4114 Рік тому +5

    Omg bro thanks so much i have been looking everywhere for this! Im subscribing

  • @RobloxCato
    @RobloxCato 10 місяців тому +2

    This idea with using animate script is ridiculous but working. Thanks! :D

  • @FatPaps
    @FatPaps Рік тому +2

    Brilliant tutorial but as a developer the reason I would not use this is because people want to play in their own Avatar animation. Everyone who entered a game with this system would have to be animated specifically this way which people may not like. If Roblox added a “walk back” animation in the default animations we could then manipulate all peoples animations with their own but unfortunately that’s not the case 🫤

    • @Vityaz_lt
      @Vityaz_lt Рік тому +2

      Custom animations are for r15 and this is for R6

  • @oilycheese4805
    @oilycheese4805 Рік тому +14

    Great tutorial! Really simple and effective

  • @elmind74
    @elmind74 Рік тому +2

    you gotta make more tutorials this alone makes a game feel so much more alive

  • @niro-007
    @niro-007 Рік тому +7

    super clean and really impressive. no ik required! :)

  • @izoy
    @izoy 11 місяців тому +4

    as a single developer making my own "R6 engine" called ( ZOY's Engine ) by that i mean making some changes on everything like movement, camera movement, graphics and stuff like that, i made my own scripts but sometimes when i dont get to do it myself i look up in YT so i ended up in this video. it was very usefull and i appreciate it.

  • @Helixocat
    @Helixocat Рік тому +10

    ngl, the best tutorials i seen so far, you explained everything really well! one thing i would ask for, is the studio theme colors, beacouse your script editor looks absolutely amazing!

  • @VoidStar146
    @VoidStar146 Рік тому

    You have NO IDEA how long I've been searching the internet trying to find this.

  • @LeapInno
    @LeapInno Рік тому +2

    Thanks. I really like the look of directional movement.

  • @wumfumblus
    @wumfumblus Рік тому

    just wanna say the walk animations themselves are PHENOMENAL!!

  • @4everBonking
    @4everBonking Рік тому +2

    Nice video. I was trying to look for a video on this but couldn't find any, thanks and keep up the great work!

  • @rip-y6o
    @rip-y6o Рік тому +2

    🎉I'm happy for you you hit 1k subscriber 🎉

  • @maninthehotbox
    @maninthehotbox 7 місяців тому

    i personally really appreciate you using text to speech instead of just text, helps a lot for multitasking :)

  • @EclipseIsMe
    @EclipseIsMe Рік тому +3

    Thank you so much this is exactly what i needed
    edit: and the fact that he makes it free to use no credit

  • @Ernad1
    @Ernad1 3 місяці тому +1

    "feel free to use this without credit" being so nice like that is definitely gonna make me add it 😭🙏

  • @La_Jxken
    @La_Jxken Рік тому +5

    Thank you so much. I have been trying to look for a script like this for so long!

  • @chard2512
    @chard2512 Місяць тому

    This was very explainable and useful, thank you.

  • @FunkyTrucky
    @FunkyTrucky 8 місяців тому

    Thanks you so much Mr. AI, I thought it would be very difficult, but it turns out making something like this is quite simple :D

  • @Echo-Vocaloid
    @Echo-Vocaloid Рік тому +4

    thanks dude! this really helped a lot 👌

  • @dxxmxd
    @dxxmxd 11 місяців тому

    You jst helped me understand how all the math works. Didn’t even think it was this easy lol

  • @_Chocoo
    @_Chocoo Рік тому +4

    thanks this is exactly what i needed

  • @SpriteLiteV2
    @SpriteLiteV2 Рік тому +1

    bRO I HAVE BEEN SEARCHING FOR THIS TUTORIAL FOR TOO LONG (AROUND A YEAR TO BE EXACT)
    thx soo much man

  • @Notrubenn
    @Notrubenn 8 місяців тому

    Hearing the mario kart double dash credit theme over this was magical

  • @savioursmile
    @savioursmile Рік тому

    work perfectly! thanks for the great tutorial

  • @wasnexhere
    @wasnexhere Рік тому

    simple, and very good explaining! great tutorial!

  • @fixed5043
    @fixed5043 Рік тому

    I love your teaching style.

  • @Moai707
    @Moai707 11 місяців тому

    big thanks! You actually helped me learn how to script a bit!

  • @Cohuastourz
    @Cohuastourz Рік тому

    you make good tutorial! Wish you would be famous one day!

  • @gogurtkid8712
    @gogurtkid8712 Рік тому

    Litally just the found the new entertaining bro that keeps me entertained to learn about scripting thanks dawg.

  • @rip-y6o
    @rip-y6o Рік тому +5

    Roblox - procedurally animated door
    animation

  • @VelocityCubedd
    @VelocityCubedd Рік тому

    W guy, first vid ive seen of this + new sub

  • @ShortyJustin
    @ShortyJustin Рік тому

    Good video, liked the AI voice. Thanks!

  • @FriedRatEater
    @FriedRatEater 6 місяців тому

    0:48 you can make the game open source, and then the user can upload the animations there

  • @blocccrafter566
    @blocccrafter566 Рік тому +17

    Yes! This code really helps a lot, thank you!
    (You might wanna include the jump animation for that model link)

    • @NovaFlynnSmith
      @NovaFlynnSmith Рік тому +5

      heres a script for jump
      Humanoid.Jumping:Connect(function(IsJumping)
      if IsJumping then
      AnimationsTable.Jump:Play(1)
      else
      end
      end)

    • @Togawaaa
      @Togawaaa Рік тому

      @@NovaFlynnSmith This goes in a different script and then put a Jump animation Animations folder?

    • @NovaFlynnSmith
      @NovaFlynnSmith Рік тому

      No. Put it on the same script but put it at the very end of the animation script, you should add the jump anim first on the animations folder

    • @NovaFlynnSmith
      @NovaFlynnSmith Рік тому

      If you want to stop the jump anim when landing well i think you know how just use statechanged

    • @NovaFlynnSmith
      @NovaFlynnSmith Рік тому

      @@Togawaaa thats all

  • @UltraDark328
    @UltraDark328 Рік тому +2

    Wow is actually fun watching 😂😂

  • @cyberex5509
    @cyberex5509 Рік тому +2

    Finally after years, I've found it

  • @legmanisntfunny
    @legmanisntfunny Рік тому +4

    is nobody talking about the text to speech said ✨universy✨ and ✨lo-ked✨
    Overall, great tutorial! Its understandable.

  • @joeybuttery
    @joeybuttery Рік тому

    thanks for the helpful tutorial!

  • @maxthebeast5774
    @maxthebeast5774 Рік тому +1

    thank this video was ammazing!

  • @CroailMadeIt
    @CroailMadeIt 3 дні тому

    i couldnt stop laughing at his tone change around 3:05

  • @KashTheKingYT
    @KashTheKingYT Рік тому +5

    Strafing animations exist now so you can just change the strafe animations in the character

  • @fallin.1
    @fallin.1 Рік тому +1

    Can you make it for sprinting too? Also the video is so fun like the voice so keep it up

  • @theotheo6505
    @theotheo6505 Рік тому

    thank you man thats is good tutorial :)

  • @katsywafers
    @katsywafers Рік тому

    this was very helpful, thanks

  • @camjamthe2nd110
    @camjamthe2nd110 6 місяців тому

    This works great! THANKS!

  • @theperfecttroller
    @theperfecttroller Рік тому

    wait you're actually a genius

  • @hamzayahya1696
    @hamzayahya1696 Рік тому

    really thank you for this tutorial😁

  • @BroncoGammon
    @BroncoGammon 12 днів тому +1

    How would I make the animations' speed change as walkspeed changes? And could I add seperate running animations?

  • @popcat4633
    @popcat4633 Рік тому +1

    I NEEDED THIS THANK YOU

  • @dps1ooo
    @dps1ooo Рік тому +1

    thanks bro ! +1 subscriber😀

  • @joan-alves
    @joan-alves 9 місяців тому +3

    Hey, amazing work! But my animations can't seem to load, any way to fix this? Thanks!

  • @emoji1817
    @emoji1817 Рік тому +2

    GPO needs this

  • @Idiotcalledren
    @Idiotcalledren Рік тому

    i feel like the engineer from tf2 is teaching me

  • @K_THE_CLOWN
    @K_THE_CLOWN 5 місяців тому +2

    bro how do i get pluginguiservice and what did he do to get the animations 0:35

  • @9RBLX
    @9RBLX Рік тому

    Basically Roblox's feature "StrafingAnimations" but R6 supported

  • @Savage14246
    @Savage14246 Рік тому +2

    Can you pls do a combat system were they use hands and legs to fight?

  • @JonaMarlonBecker
    @JonaMarlonBecker 2 місяці тому +1

    How do I make this underscore at 2:04 after "for"

  • @verycoolmicheal
    @verycoolmicheal Рік тому +2

    can you make a lerp without animations? w makes you learn foward, s makes you learn backwards and a makes you look to the left (not lean) and d makes you look to the right

  • @CopperCrownDummyWhoMakesGames
    @CopperCrownDummyWhoMakesGames Рік тому +1

    Roblox allows sharing animations if you export it using Moon animator plugin. Unfortunately the price skyrocketed.

  • @donijope
    @donijope 8 днів тому +1

    0:50 i didnt understand that part

  • @The_GME
    @The_GME Рік тому

    man you should continue doing tutorials no cap

  • @Svetevev
    @Svetevev Рік тому +4

    Can you make more tutorials? Since roblox dev on youtube is on pretty much elementary level, it would be nice if at least someone created tutorial on something advanced

    • @ronaldo_cf17
      @ronaldo_cf17 6 місяців тому

      Have you looked at TheDevKing’s Advanced series?

    • @Svetevev
      @Svetevev 6 місяців тому +1

      @@ronaldo_cf17 they are not advanced

  • @funnyman32328
    @funnyman32328 11 місяців тому +2

    its good but it dosent work for me sadly

  • @naseemlight5019
    @naseemlight5019 Рік тому

    Nice! do you think you can make one for r15??

  • @wrathofvice
    @wrathofvice Рік тому +2

    i love ur colors for ur code could you tell me what they are for each one

  • @Terence_sddgROBLOX
    @Terence_sddgROBLOX Рік тому +1

    Me, a guy that doesn’t code at all: interesting

  • @Briarbot2011
    @Briarbot2011 Рік тому

    "16 is the actuwal veelawcity" -random TTS, 2023

  • @HeadphoneSentry
    @HeadphoneSentry Рік тому +2

    Yo, what's your studio settings and font for it to look like that? It's really smooth ❤

  • @CEOJAE
    @CEOJAE Рік тому

    bro my brain is frying by listening to this

  • @-Mahir-
    @-Mahir- Рік тому +2

    Hey, can you please tell me what text-to-voice you use? :(

  • @dontbleedorganz3372
    @dontbleedorganz3372 Рік тому +1

    I feel like this would work but I feel like it won’t work for me it’s just that I watched a tutorial on how to make a left shift Sprint button with animation I did it but it did not work. I’m a failure ):

  • @Stick1083
    @Stick1083 Рік тому

    actually good footplanting

  • @Iggy58444
    @Iggy58444 5 місяців тому

    3:10
    the ai switch accent is so funny to me

  • @Xander-Jay-X
    @Xander-Jay-X Рік тому +5

    *me watching even though I’m not a developer or plan to make any games*

  • @Burgundyze
    @Burgundyze Рік тому

    Cool. Is this r6? And can it be customized to r15?

  • @Nol_Inuse
    @Nol_Inuse Рік тому +5

    I really wanna see a procedural one, please do it if you can!

  • @NameIDontKnow_
    @NameIDontKnow_ Рік тому +1

    Me trying to not lose a brain cell: 😐〽️

  • @kerbereal934
    @kerbereal934 6 місяців тому

    OOOOORRR you can enable strafing animations in game settings (works only for r15 though)

    • @devdump
      @devdump  6 місяців тому

      they ruined the animations, i didnt even get the chance to even archive them

  • @teamlemons756
    @teamlemons756 Рік тому +2

    im curious, does this overwrite the regular animation script in the character? or are the walk animations and such from the regular animation script still playing?

    • @mrstarfish
      @mrstarfish Рік тому

      Naming the local script “Animate” does override the default animate script, so yes.

  • @zombieskel4114
    @zombieskel4114 Рік тому +1

    Also if you already have a sprint script can you please make a tutorial on how to put sprint animations when our sprint scipt is activated?

  • @pc_gamer2231
    @pc_gamer2231 Рік тому

    When did elite cameraman become a game dev 💀

  • @bxdri
    @bxdri 4 місяці тому

    what font do you use for the script editor, looks so clean

  • @thom463s
    @thom463s 5 місяців тому

    Now make a procedural walk cycle using inverse kinematics.

    • @devdump
      @devdump  5 місяців тому

      ua-cam.com/video/bRSxAasiSmA/v-deo.html

  • @Flux_D.C.B
    @Flux_D.C.B 4 місяці тому

    Better than roblox walking animatoon

  • @luizfelipeuwu2500
    @luizfelipeuwu2500 Рік тому

    You got subs, yay! :D

  • @MiguelLopez-vp3um
    @MiguelLopez-vp3um Рік тому +1

    So much similar to gear 5 in fruit battleground

  • @TLContract
    @TLContract Рік тому +1

    Does this work for custom rigs such as Skinned Meshes? For example, if I'm using a dragon would it work for it?

    • @devdump
      @devdump  Рік тому

      Roblox animator supports any rig as long as it uses bones or motor6d

  • @guhuhhuh3630
    @guhuhhuh3630 Рік тому +3

    I think I did the code right but whenever I test it in game there is no animation when I walk, I animated my own walk anims, uploaded them to roblox, and inserted the ID in the AnimationId box and it doesn't play the animation when I move, just a static pose, any reasons for this?

    • @Bluified_
      @Bluified_ Рік тому +1

      Same thing for me. I’m going to try to fix this and if I do I’ll let u know

    • @guhuhhuh3630
      @guhuhhuh3630 Рік тому +1

      @@Bluified_ did u find a solution? at first I thought It would be as simple as publishing and setting the game to r6 but its still not working.

    • @Bluified_
      @Bluified_ Рік тому +2

      @@guhuhhuh3630 yeah I can’t find any solutions either. I might have to post the code on a forum and see if someone more experienced can help

    • @Not_Retarded
      @Not_Retarded 3 місяці тому

      Anyone found a solution yet?

  • @lubi8792
    @lubi8792 Рік тому +2

    How would I go about adding an animation for walking backwards? Additionally, how would you add an idle animation? I've tried to implement both myself but I lack the knowledge of whats going on. Any help appreciated!

    • @EthanTypically
      @EthanTypically Рік тому

      Well- on else statement
      Make Additional one for the idle-
      And check if the idle isn't playing then below the if statement on the idle
      Play the animation

  • @diphenhydr
    @diphenhydr Рік тому +1

    Honestly i think it looks better to make them entirely cframe based

    • @devdump
      @devdump  Рік тому

      I have a pastebin link, it's for the upcoming code like you said, entirely cframe based pastebin.com/kJ2Fp6Y7

  • @GreatRamilYT
    @GreatRamilYT Рік тому

    tysm! you the best!

  • @Какой-точелсостандом

    Thanks for tutorial