How to Make a Simple Crouching System in Unreal Engine 5

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 84

  • @TooMuchPing
    @TooMuchPing Год назад +15

    This guy is so unerrated. These tutorials are perfect and yet he isnt even at 50k. Keep up the good work dude.

  • @hype._.
    @hype._. Год назад +5

    Thank you. it works so well :)
    3:37 Camera Lag
    6:33 Blend Poses by bool

  • @Mader_Levap
    @Mader_Levap Год назад +9

    While it is great starter and your advice works, this begs for follow-up video. I am not even talking about integrating crouch with control rig (though that would be great too!).
    There are some visual (and other) problems that should be fixed before you can release any game using this. These problems are just too visible, too jarring.
    - Crouched character appears as if it floats a little above ground. In fact, it floats even without crouching (though it is less visible)! It is actually result of disconnecting control rig and animations might be designed with control rig usage in mind... so maybe tutorial about integrating crouch with control rig will be necessary after all. It might also solve some of other problems below?
    - Blending puts feet under surface sometimes if you are moving slowly enough.
    - If you fall from height when you are crouched, your landing is going to look VERY weird and unnatural. I suspect only good solution would be using separate landing animation specifically for landing crouched...
    - You can't do crouch-jump. Turning off crouch just before jump is not solution, because entire point of crouch-jump is to be small while in air (to get past window etc).
    I actually checked out CR_Mannequin_BasicFootIK, but it is way above my head.
    Soo... follow up video? Pretty please?

  • @PeytonVarney
    @PeytonVarney 2 года назад +7

    I would be interested in seeing a video on how to setup a character to be able to enter a vehicle. Basically like switching from 3rd person character system to vehicle system if you press a button near a vehicle.

    • @GorkaGames
      @GorkaGames  2 года назад +5

      good idea! That's actually pretty simple to do, I will note this down for a future tutorial.

    • @Sigillimus
      @Sigillimus 2 года назад +5

      Without actually doing it myself but also working on a horse/mount system... have a car blueprint with all your assets plus a camera. When the player enters the car, change the player camera from the third-person to car camera. With the new Unreal 5.1 input mapping system, create an input mapping context specific to the car controls, remove the third-person input mapping from the player controller and add the vehicle input mapping.

  • @TommyTheHeist
    @TommyTheHeist Год назад

    bruh you are a savior. When im looking for something on youtube and I see that you made a video on that topic I know that I will do it too.

  • @speedy_o0538
    @speedy_o0538 Год назад +1

    Thankyou dude!! Love your tutorials, absolute goldmine.

  • @Nirrael
    @Nirrael 2 года назад +5

    Thanks! You saved me from "glued feet" problem.

    • @GorkaGames
      @GorkaGames  2 года назад +1

      Haha, Im gald I could help!

  • @chickennugget7339
    @chickennugget7339 Год назад

    Thank you so much! I was following another video but couldn't get crouching to work with their way. This was perfect. Kudos!

  • @wolfiedgr8t
    @wolfiedgr8t 2 года назад +5

    Thanks Man, these animation blueprint and blend space tutorials are a really great resource to have access to ❤️

    • @GorkaGames
      @GorkaGames  2 года назад +3

      thank you for watching! I really appreciate it 😄

    • @wolfiedgr8t
      @wolfiedgr8t 2 года назад +3

      @@GorkaGames No worries, love the content. Keep it up 👍

    • @GorkaGames
      @GorkaGames  2 года назад +2

      @@wolfiedgr8t thanks, I will!!💪💪

  • @controIIa
    @controIIa 3 месяца назад

    thanks man worked for me i was having a problem with the ik rig i didnt realise it till now the foot kept not moving properly but this vid helped me solve the problem worked fine for me in ue5.3.2

  • @loneleeworldsgaming2997
    @loneleeworldsgaming2997 Год назад +4

    How do you do this if you're using your own character and not this mannequin?

  • @derf0007
    @derf0007 2 года назад +2

    Finally! Someone who got it working for me! Great tutorial.

    • @GorkaGames
      @GorkaGames  2 года назад +1

      Im glad I could help!! thanks

    • @derf0007
      @derf0007 2 года назад +1

      @@GorkaGames do you have any tutorials about adding a dive roll or equipping a gun/weapon?

    • @GorkaGames
      @GorkaGames  2 года назад +1

      @@derf0007 yeah I have about how to pick up weapons and equip them: ruclips.net/video/qVtoemgM7wI/видео.html . But I currently don`t have abut a dive roll, but if you wan to see it I will note it down!

    • @derf0007
      @derf0007 2 года назад +1

      @@GorkaGames you rock! I will watch it tomorrow!

  • @Bettercallsouls
    @Bettercallsouls 2 года назад +3

    Amazing dude! Thank you so much for this tutorial, is so smooth! You just earned a follower

    • @GorkaGames
      @GorkaGames  2 года назад +1

      thank you so much man!! I really appreciate it!

  • @joshuagatlin3931
    @joshuagatlin3931 2 года назад +1

    You're a genius!!! Spent literally two days trying to figure this out with the advanced locomotion system. Your videos really HELP beginners!
    Question, how would you jump out of the crouch? I see now that it won't let me jump while crouched.

    • @GorkaGames
      @GorkaGames  2 года назад +1

      Thank you!! I`m glad that you found it useful! So in the plater`s BP, when you press space, before calling the "Jump" event node, ask the character movement component if it is crouching, and if so call the Un Crouch node

    • @joshuagatlin3931
      @joshuagatlin3931 2 года назад +1

      @@GorkaGames Thanks I think I have it now, but now he instead of jumping right from the crouch I have to press it twice and he will stand on the first press, then jump on the second.

    • @GorkaGames
      @GorkaGames  2 года назад +1

      @@joshuagatlin3931 Okay, so what you can do is check if we are already crouching and if so, call the jump node twice

    • @joshuagatlin3931
      @joshuagatlin3931 2 года назад

      @@GorkaGames Thanks bro, you're the best youtuber tekkie!

  • @AdamBarkerThe
    @AdamBarkerThe 8 месяцев назад

    Man thank you soooo much for this 🙏 worked like a charm.

  • @hoodeez
    @hoodeez 11 месяцев назад +1

    7:45 nobody setup that "every second every frame thing idk how to get that set now none of my animations are working

  • @kingwrightdev
    @kingwrightdev 2 года назад +3

    You solved my problem...HALELUJAH!

    • @GorkaGames
      @GorkaGames  2 года назад +1

      haha, I'm glad I could help!

  • @PintoBeanDeluxe
    @PintoBeanDeluxe 8 месяцев назад +1

    Hey gorka I'm using ue 5.4 and it says that action mappings are now depreciated do you have any Idea on what I can do?

  • @Jeerin_
    @Jeerin_ 2 месяца назад +1

    the crouching animation from the animation starter pack doesn't work with the most recent version of unreal

  • @Keln02
    @Keln02 2 года назад +2

    Fantastic tutorial.
    Many thanks

    • @GorkaGames
      @GorkaGames  2 года назад

      thank you!! I`m glad that you found it useful

  • @Trickle99
    @Trickle99 10 месяцев назад +1

    For some reason it couldn’t work:( is it because I’m doing it in the same project as the one I followed the ue5 tutorial 2023 u did and that has to do with the problem?

  • @Charcole_Bag
    @Charcole_Bag 9 месяцев назад +1

    "and you'll say 'oh that was easy' well, of course, there's more to go"
    Game development in a nutshell

  • @NormanicLogs
    @NormanicLogs 2 года назад +1

    is there a way to have the ik enabled while preventing glued feet?

  • @Matb38
    @Matb38 2 года назад +2

    Thank you so much ♥

    • @GorkaGames
      @GorkaGames  2 года назад +1

      Thank you for watching!

  • @wesleyluz915
    @wesleyluz915 2 месяца назад

    Thank Youuuuuuuuu!!! God Bless your life!!!

  • @mekbots
    @mekbots 2 года назад +2

    My blend space doesn't seem to be working, regardless of being idle or moving, the character just uses the idle animation?

    • @GorkaGames
      @GorkaGames  2 года назад

      In the blendspace, does the max speed equal the character`s max speed? And make sure that in the Animation BP the graph is correclty casting to your player

    • @GP-vh6sg
      @GP-vh6sg Год назад

      Same here

  • @FatBoyBenz
    @FatBoyBenz Год назад +2

    does anyone know how to make it toggle instead of button hold

    • @darklikevader6596
      @darklikevader6596 Год назад

      I want to know this too

    • @novablast17
      @novablast17 11 месяцев назад +2

      You should be able to use the "FlipFlop" node to create a toggle effect for crouching instead of holding down a button.
      Instead of connecting the pressed and released event you connect only the pressed event to the flip-flop node. Then you connect its A output to crouch and the B output to uncrouch.

  • @handoanbrother2125
    @handoanbrother2125 2 года назад +2

    Can you make an tutorial on how to make animation? your video its very cool!!

    • @GorkaGames
      @GorkaGames  2 года назад +1

      Thanks!! Do you mean making your own animation from zero? You probably would use a 3D modeling software like Blender. Or edit other animations? Because if so I have a tutorial on how to edit them: ruclips.net/video/UeVQ4VU7cKc/видео.html

  • @BerryFarmGaming
    @BerryFarmGaming 2 года назад +2

    Thank you so much for all you videos, cant tell you how much you've helped me!! Im having a problem with the character after a few steps teleporting back like the animation ended and its restarting. Any ideas on how to fix that?

    • @GorkaGames
      @GorkaGames  2 года назад +1

      Thank you so much! I really appreciate it. Yeah so that usually happens when its a root motion animation and it root motion isnt enabled. Is it also an anim montage that you play? If so, you have to go into its animation clip, search for root motion, and just enable it

    • @BerryFarmGaming
      @BerryFarmGaming 2 года назад

      @@GorkaGames that worked! Again thank you so much

  • @Orion-yq8kc
    @Orion-yq8kc 2 года назад +2

    Nice and easy

    • @GorkaGames
      @GorkaGames  2 года назад +1

      Thanks! I always try to make my tutorials easy to follow

  • @iinverno
    @iinverno Год назад +1

    Hi, there seems to be an issue where turning off the control rig in the animation BP raises the character off the ground slightly, but it also stops the characters feet from recognising the ramps and if one foot is on the ground and one foot is on the ramp. Is there any way to get this working with the control rig still connected?

  • @gendalfgray7889
    @gendalfgray7889 7 месяцев назад

    Spring arm lag can mess with aim when moving if your weapons parented to camera

  • @DBS_Sourav
    @DBS_Sourav 8 месяцев назад

    i dont find movement component plz help

  • @arthurlavooy2029
    @arthurlavooy2029 2 года назад +1

    Thank you so much for this, I'm a complete noob and this helps me alot.
    The only question I have is how to prevent the character from floating just a bit above the floor when crouched. Is there a way to prevent this?

    • @GorkaGames
      @GorkaGames  2 года назад

      Thank you!! Yeah, so when I changed the "crouched capsule half height" in the details panel 2:28 , just decrease a bit the value

    • @arthurlavooy2029
      @arthurlavooy2029 2 года назад +1

      @@GorkaGames This is not the solution for me, I think I've to do something with retargeting the animation. Will sort it out, but still many thanks.

    • @agus11125
      @agus11125 2 года назад

      @@arthurlavooy2029 any fix yet?

    • @arthurlavooy2029
      @arthurlavooy2029 2 года назад

      @@agus11125 Not yet, I'm focusing a bit more on beginners tutorials at the moment. I'm so easy lost in stuff I want to do, trying to do things a bit more structured
      for myself.

  • @brownbalak4641
    @brownbalak4641 2 года назад +1

    Thank you very much, but after crouching, im not able to cross over to any other object with collision

    • @GorkaGames
      @GorkaGames  2 года назад

      iy might be because the capsule height has decreased a lot, try to increase it

  • @EIRAMIRhere
    @EIRAMIRhere 2 года назад +1

    My blend 1D is not working ;-; even if i put them out on each end they dont make a blend

    • @GorkaGames
      @GorkaGames  2 года назад

      have you holded ctrl and moved the mouse around?

    • @AnotherMFwithstudy
      @AnotherMFwithstudy 2 года назад

      @@GorkaGames bro it says this is incomatiable with this skeleton

  • @synastershred2269
    @synastershred2269 Год назад

    Great tutorial, but for some reason my character's feet are not touching the ground when I go into crouch, how do I fix this?

    • @YuhDev
      @YuhDev Год назад +2

      I got my feet to touch the ground when crouching by copying the Control Rig node from the AnimGraph and copy and pasted it after the Blend Poses by bool node in the Walk/Run state in Locomotion. I'm on 5.1.1 btw.

    • @synastershred2269
      @synastershred2269 Год назад +1

      @@YuhDev Yeah, I'm in 5.1 as well, will give this a try, thank you for looking out.

  • @PsychoLoversGaming
    @PsychoLoversGaming 6 месяцев назад

    mixamo dosnt let me import why?HELP

  • @FatBoyBenz
    @FatBoyBenz Год назад

    great video btw

  • @norabseven
    @norabseven Год назад

    Unreal 5.0 and not using Enhanced Input... ?

  • @MemsFN
    @MemsFN 6 дней назад

    it's usefull

  • @GAMarine137
    @GAMarine137 10 месяцев назад

    I am surprised UE is more of an open-source model beyond the engine itself. Meaning, many computer programing languages have hubs where you can pick up functionality you are looking for. I know UE has the Marketplace but many of those are not free. I am talking a more true open-source model. Where you can say, "oh, I would like to add crouching". Then go and pop it into your project and it just works. UE lacks simplicity

  • @gamedevofcoffeeandpower
    @gamedevofcoffeeandpower 11 месяцев назад

    why does this vid have 529 like when he has 78k subs!?!

  • @kleinemanjoco
    @kleinemanjoco Год назад

    it wont crouch for me

  • @gamedevofcoffeeandpower
    @gamedevofcoffeeandpower 11 месяцев назад

    the animations are outdated :(

  • @DrDandD
    @DrDandD Год назад

    interesting kinda goofy tho