Make a Realistic Crouching Effect In UE5

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 82

  • @melonpolygonsofficial
    @melonpolygonsofficial Рік тому +42

    I won't get tired of repeating it. You really make some of the best ue videos on youtube. When I was studying, I searched UA-cam for how to do crouching. And each time it was not quite what I wanted, but the videos were for 20 minutes. And here you show an excellent result in 12 minutes without too much chatter. Thank you

  • @user-iy4yk9cg4h
    @user-iy4yk9cg4h 6 місяців тому +11

    Fine butyou have a problem... if you'll try to crouch under some object, and then released button you just stack on it, because your capsule will change height thru the object

    • @laughfity
      @laughfity 3 місяці тому +2

      Have like a short raycast to check for collision

    • @John-iu6fi
      @John-iu6fi Місяць тому

      @@laughfitycan you please tell more in details?

    • @laughfity
      @laughfity Місяць тому +1

      @@John-iu6fi it’s simple really, before all of the logic of crouching you add a node called” line trace by channel” and point it above the players head, after just add a branch and if the ray cast detected collision you add the crouching code to the “false” exec pin, and if it did it won’t do nothing because the “true” exec pin will be empty

    • @John-iu6fi
      @John-iu6fi Місяць тому

      @@laughfity does it work with this tutorial and first person? Because I tried and he can’t uncrouch after crouch

    • @Ricamocel
      @Ricamocel 28 днів тому

      There IS a dumb crappy but good solution. Make a box, make It that when overlap, can't uncrouch using bools lol

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

    dude you go so fast and your videos are very helpful

  • @gidegide
    @gidegide 8 місяців тому +3

    its all good but you didn't show how to avoid collisions when getting up

    • @laughfity
      @laughfity 2 місяці тому

      @@gidegide do a ray cast from the top of the player to check for collisions

  • @TDF56
    @TDF56 10 місяців тому +3

    Just did as u showed but mine still doesn't work, I have already camera shake for walk and run blueprints but still I did exactly as u showed am I perhaps missing something.

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

    So when I crouch my camera twitches when crouching and un crouching, does anyone have a solution?

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

    Блин, почему я это видел не нашел раньше, я бы сэкономил кучу времени, я пока плохо разбираюсь в анриле и из-за этого целый месяц сам создавал механику приседания

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

    the left right and up down doesnt work in timeline, everything else works

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

      Did you find a solution?

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

      @@BM_GoonLord nope i just deleted it

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

    So everything is working perfectly fine but I can’t seem to rotate or pitch my character head
    It’s driving me mad but if no one can help I might just have to leave it as is

    • @KreppbandStyler
      @KreppbandStyler 10 місяців тому +1

      Same issue here! The smooth crouch in the first step works fine, but the other 2 steps are not working.

    • @JoshDun6
      @JoshDun6 5 місяців тому +1

      @@KreppbandStyler same here, no fix yet?

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

    when I sprint and then after I crouch, my character speed doesn't slow down and it stays at normal walking speed while crouching, how do I fix this?

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

      i got the same problem

    • @ethanbergendahl5566
      @ethanbergendahl5566 8 місяців тому +1

      You need to create a boolean for crouching. I created one called 'IsCrouched' and set it to true after pressing the key, and false once the key is released. Then, in your sprinting code, create a branch off of Pressed and Released with your newly created 'IsCrouched' boolean as the condition. Off of the 'False' on both branches hook up 'Set Max Walk Speed' code. I know this text explanation isn't super clear so if you need a picture lmk.

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

      @@ethanbergendahl5566 yes picture would be nice thank you!
      EDIT: nvm i got it to work! thanks for that

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

    great tutorial but how do I make it so that you can't sprint and crouch at the same time?

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

    It's not making any difference for me :(
    Help please

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

    Hey man, the discord invite link isn't working.

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

    i followed the steps but the camera doesnt yaw for me ?

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

      I’m having the same problem
      Maybe have fun with it and see what happens
      (That’s what I’m going to do)

    • @qlyqlian
      @qlyqlian 9 місяців тому +1

      its the pawn control rotation, you have to tick it and destick constrain aspect ratio, but the problem is that the camera now only moves in X axis... you cant watch up and down

    • @qlyqlian
      @qlyqlian 9 місяців тому +1

      If u have any solution please tell me

  • @stealthgamesaremyjam145
    @stealthgamesaremyjam145 8 місяців тому +3

    My BP_FirstPersonCharacter Has "Use Pawn Control Rotation" checked, and the Time line we created doesn't affect the rotation of the camera if this is checked.
    Without "Use Pawn Control Rotation" checked the Timeline does affect the rotation of the camera but doesn't allow me to look up or down.
    Does anyone have any solutions to this issue?

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

      I have the same error, please let me know if you have a fix

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

      Did you fix it? If yes, please say how

    • @BlenderBender.
      @BlenderBender. 3 місяці тому +2

      the way I fixed it is i used a spring arm, and that had pawn control rotation, and then i unchecked it for my camera (its on his vhs effect tutorial)

    • @passi8123
      @passi8123 3 місяці тому +2

      If Anybody wants to know, as @BlenderBlender. said, go use a SpringArm, select if with Pawn Control, and deactivate it on Camera

  • @hugboat808
    @hugboat808 Рік тому +6

    New subscriber here. I’ve been using UE for two months now and I’ve watched a lot of tutorials on my journey. I have to say yours are some of the best. Straight forward and well presented. Thank you for the providing these. It’s much appreciated by the community.

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

    first

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

    Hey there, I followed now any of your FPS related videos and I need to say you helped me build one of the best bases I have ever created.
    What I am still missing is a feature nearly never explained in any video when I looked for it.
    Especially fast-paced movement shooters have this great feature when you walk left or right you slightly lean in that direction so it looks a bit like the character is really dynamic.
    I would love to see a video covering this mechanic because my approach to it looks incredibly clunky.
    Good resources for referenced are for example games like "Shady Knight" (on itchio) or "Ultrakill".
    Also many other movement shooters in FPS mode use this and I would love you for covering that! :)

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

    Time to make backrooms games xD.

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

      In my discord, im going to release the VHS project but I've tweaked some settings so it looks exactly like The Complex Found Footage Game for free download when we hit 200 subscribers, Stay Tuned!

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

    thx bro, keep the hard work up, you're the top G

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

    How could I change how low i am while crouching. Editing the lerp B value does not seem to change my height at all

  • @Awa____834
    @Awa____834 2 місяці тому

    plobrem i wen i stop crouching my charater keeps walking at the crouch spped

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

    Great

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

    Once again, very nice. Thank you!

  • @0x1h
    @0x1h Рік тому +2

    I love you bro thank you for these tutorial

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

      Thank you :)

    • @0x1h
      @0x1h Рік тому +2

      @@EREMENTALSTUDIOS i love you bro

    • @0x1h
      @0x1h Рік тому +2

      you are the best

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

    really worth of being a first subcriber i just love to help small createors

  • @TheGrandST
    @TheGrandST 9 місяців тому

    Hey, can you help me? In my game, when i crouch, 5 seconds later the Character starts going faster and faster, and for some reason i can run while crouching.

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

    have a problem in the cod, the time to up where u crouch, is the same that u hold the c bottom, so if i hold the c bottom for a 10 minutes, i will wait 10 minutes to get up again, and idk but the camera rotation dont work to me.. hope u can help me

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

    does this work for ue5.3.2?

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

    I used the crouching timeline and sprinting, and i made the player accelerate

  • @imZANETTI
    @imZANETTI 9 місяців тому

    Guys, I just did this tutorial but the camera doesn't move... so I adapted it and found a solution: Create a specific camera shake for the crouch and add it after adjusting half the height of the capsule

    • @imZANETTI
      @imZANETTI 9 місяців тому +2

      An example: Osc Duration: 0.3 / Osc Blend in Time: 0.1 / Osc Blend out Time: 0.26
      Pitch - amplitude: 1.0 / frequency: 0.6 / Yaw - Amplitude: 1.0
      Frequency: 5.0

    • @hicarami
      @hicarami 2 місяці тому

      great advice, fixed everything ty

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

    discord link didint work

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

    Very helpfull

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

    Thank you!

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

    I know that you aren't using any animations for a character mesh but I'm wondering if you can help me with an issue I currently have.
    I have a character mesh so when I look down, I can see my feet. what's happening is when I crouch, my character mesh goes through the floor.
    do you know of any solutions?

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

      You are using a third person character; you will need to download or create a crouching animation

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

      I do have a crouch animation working, but when I crouch my character's body goes through the floor.@@maxten1463

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

    How can i just click once c to crouch and click it again to standup?

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

      You need to add a flip flop in the blueprint and then connect the crouch walk speed into the A and the normal walk speed into the B

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

    i still sprint when crouched

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

      Did you find a solution?

    • @ethanbergendahl5566
      @ethanbergendahl5566 8 місяців тому +2

      You need to create a boolean for crouching. I created one called 'IsCrouched' and set it to true after pressing the key, and false once the key is released. Then, in your sprinting code, create a branch off of Pressed and Released with your newly created 'IsCrouched' boolean as the condition. Off of the 'False' on both branches hook up 'Set Max Walk Speed' code. I know this text explanation isn't super clear so if you need a picture lmk.

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

      @@DeepLiminal Posted a solution in this thread

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

      @@ethanbergendahl5566 I could use a pic please!

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

      @@ethanbergendahl5566 didn't work for me 😔

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

    I made a true first person cam in the thirdperson template, would I be able to program this and link an animation to the character model with it? Could you tell me briefly how or what node I would need please? Thank you so much for the amazing tutorials bro you are a top G!