[UE4 C++ Basics] Character Sprinting (Ep. 1)

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 23

  • @robpenfold9500
    @robpenfold9500 Před 4 lety +3

    Am I the only one that is surprised by how easy this was to implement? I have been at this function for days

  • @Kolpax.619
    @Kolpax.619 Před 6 lety +1

    It's been 8 months since this was posted, so I hope this wasn't the first and last episode. Did a great job of explaining everything and would like to continue. Looking forward to hopefully seeing more content in the future.

  • @agentarachnid2009
    @agentarachnid2009 Před 6 lety

    This is so much more simple than the BluePrint tutorials out there. Can't believe I waited this long to learn how to code in c++. Thank you so much

  • @GPTDavid
    @GPTDavid Před 6 lety +1

    Thank you for the tutorial! it was extremely helpful.
    If you don't mind me asking, when will you make the animation tutorial?
    I was able to follow along successfully.. i'm just having a very tough time adding the animation to it.
    (I'm using the free animation pack from epic marketplace)

  • @mr.raider744
    @mr.raider744 Před 7 měsíci

    I hope you're doing fine, It's been a while since we've seen something from you

  • @Boxbrain-1
    @Boxbrain-1 Před 6 lety

    Hey Awesome tutorial. I hope you continue your tutorials. It would be awesome to set up a character from scratch and have some basic functionality such as running crouching so on so forth.

  • @Shepherd_HL
    @Shepherd_HL Před 6 lety

    I'm amazed I found this so soon! I'm currently trying to illustrate an idea for a game I have that has 2 characters, one fast and one slow, which the player swaps between to navigate the levels.
    Today was somehow the day I sat down and looked for resources for coding, and I found your video on Reddit.
    My only issue is that my code doesn't line up (at 2:49 you type on line 79, which for me is line 74) it's probably not a problem... probably. I'm not sure If I missed a simple step before-hand.

    • @micahsaintgermain379
      @micahsaintgermain379  Před 6 lety +2

      It shouldn't matter which line you put it on as long as it's in SetupPlayerInputComponent method. It's possible we're running different versions of UE4. This tutorial was recorded on version 4.17.2. I'm tracking the code in GitHub for you guys to reference so feel free to cross-check your implementation against this github.com/micahsaint/unreal_cpp_tutorials/blob/master/SprintTut/Source/SprintTut/SprintTutCharacter.cpp#L79-L80.

  • @Jaycoder
    @Jaycoder Před 4 lety +1

    can u continue this

  • @elric7371
    @elric7371 Před 6 lety +1

    You should try and do crouching and the animations for it. Good video btw.

  • @SimplyEd
    @SimplyEd Před 2 lety

    Hello, the tutorial is cool, but can you record a lesson on how to make the character turn into walking at the end of the stamina?

  • @arsenecave7919
    @arsenecave7919 Před 2 lety

    I like the manequin ,where i can find the model?

  • @operatordoom
    @operatordoom Před 5 lety +1

    2:56 Where he typed "Sprint" I wrote "StopSprinting" when i tried this when i would release the shift key it wouldn't take effect. I thought someone else may have this issue too.

    • @micahsaintgermain379
      @micahsaintgermain379  Před 5 lety

      doomoperator Loretz can you share your Character.cpp file? gist.github.com

    • @operatordoom
      @operatordoom Před 5 lety

      i don't see the point, it's exactly what you have in this video.

    • @jbm1444
      @jbm1444 Před 4 lety +3

      @@operatordoom Probably not if it's not working

  • @robertludwikowski2038
    @robertludwikowski2038 Před 6 lety +1

    I have also undefined GetCharacterMovement and i have no spell mistakes

    • @ilasoiaf
      @ilasoiaf Před 6 lety +2

      add this line to your character cpp file
      #include "GameFramework/CharacterMovementComponent.h"

  • @mememenene
    @mememenene Před 3 lety

    Hi, i try to do this.Press W (walk), them add press Shift left and Run, and,,,Add C and Sprint. Of course i cantm do you have a video for this? Thanks!!!
    w=Wal
    W + Left Shift = Run
    W + Left Shift + C =Sprint

  • @skrivelis.m
    @skrivelis.m Před 6 lety

    wth i doublechecked every position and spelling.. in .cpp it still says that SprintSpeedMultipler is undefined... any ideas ? Runnin on UE 4.18.1.
    update : GetCharacterMovement() is also undefined lol

    • @skrivelis.m
      @skrivelis.m Před 6 lety

      Nevermiind. i was missing one "A" ( i had to correct it to AMyProject3Character::StopSprinting() ) , had a ton of errors, watched entire video 4 more times and now it finally runs. i guess i just had a typo somewhere. its hard to focus on writing when ur tired every fkin day. Thnx for upload.