How to make a Realistic Crouch System in Unreal Engine 5
ฝัง
- เผยแพร่เมื่อ 21 ก.ย. 2024
- Support Me & Get These Files Here: / codethings
CodeThings Community Discord: / discord
Ready to make your game even more realistic? In this tutorial, we make a realistic crouching system for ue5. If you missed the previous tutorial, don't worry, I've got you covered with a card link to catch up. Get ready to take your game to a whole new level of immersion. Learn how to add a realistic crouch to your game in this tutorial. Subscribe now and let's get started!
Link to Marketplace Animation Asset:
www.unrealengi...
Hello guys,
I found a solution for the camera that is jumping when you press crouch.
Inside of BP_thirdperson select CameraBoom on the left side where Compononets tab is. On the details panel find "Lag". Enable Camera Lag - True, and set the Camera Lag Speed - 5 (for example)
Cheers!
Mines not showing lag
Should stay away from the event graph on your animation blueprint and make it threadsafe instead. Event graph ticks every frame and can bog stuff down
Hello, this is very good, but i have problem with camera in first person. If i walk in crouch my camera just move forward
and therefore clips through objects - e.g. a door, wall. Collision test doesnt work too. Can you help?
thanks, it works well on me
do you think you can make a beginner tutorial to importing animations and coding parkour in general? i really have a dream game i wanna make in my head but i have no idea where to start and there arent any tutorials on youtube that i can properly follow.
Everytime I move Left and Right with the camera paired socket to the head the camera constantly glitches out
Could you pls make a tutorial about inspecting items? There’s already more tutorials but i really like your videos and I think you could do a better job than any other person, I would appreciate if you could do it, currently doing and school project inside unreal but I’m more of an environmental and cutscene guy
That’s going to be one of my tutorials coming up soon :)
When I go to retarget I crash unreal what do I do?
I don't know what I am doing wrong but when I press my crouch button I slow down but my camera does not lower I followed the guide I think perfectly any help?
Same problem, i am trying to figure out how to solve it, but no luck yet
does anyone else have an issue of the camera going too much forward and almost going through anything that is in front of you?
my character clip with the floor did i forget something ?
Edit: i you have problem like the character are in the ground change the "Crouched Half Height" i set up on 55 for my case if its to low up the value
I'm having an issue where its saying skeletons not compatible when dragging the animations.
Edit: Fixed it
How did you fixed it ?
I also encountered this problem
Edit: Nvm! I forgot I had to apply the sounds per animation. Silly me 🤦♀
For some reason dynamic footstep sounds from the previous tutorial don't work in crouched mode. Any ideas why?
Yea, one of the main reasons something like this might be happening is because you added the bp_footstep_notify to your walk and sprint animations but not ur crouch animations, remember to do the same steps for when you’re crouching and feet touch the ground
@@codethings I know, the moment I remembered about the sound setup I went back and added the sound. It works perfectly well.
hi guys I don't understand why but when I squat down I have jerks on the screen, it's been 2 days I'm stuck on this.. if you have any tips I'm interested.
so question.. when i right click the animations, i dont see the option for Retarget Animation Assets? how do i fix this
Hm, that could be dependent on the unreal engine version you are using? For this tutorial and the rest in this series, I use unreal engine 5.3.2
Having the same issue. Did you ever figure it out?
Can you redo this tutorial with 5.4.3 version? Because I dont see retarget animation option you used. Its a different option for me :(
In 5.4 it just has Retarget Animations instead of Duplicate and Retarget Animations but you can still do the same thing even though the window has changed a bit. In 5.4 in the Retarget Animations window just select SKM_Quinn_Simple (if you're following with Quinn) in Target Skeletal Mesh then uncheck Auto Generate Retargeter and select RTG_UE4Manny_UE5Manny. Below that in the bottom right of the window you will see a list of animations and just ctrl+click the animations you would like and then select Export Animations and continue to follow like the video.
@@dwain.d Broooooo thanks very mush
@@dwain.d Dwain.d is my hero
Brother I have been watching tutorials of your channel since you started making for horror genre and those tutorials are really amazing, but can I request you to also make video on all the elements for a horror game with most importantly equipment of items and bandages mechanics also peeking mechanism 😅
By the way love from India
Thank you so much! That is actually my plan for my next tutorial :)
Hey I followed along all the way, however the crouch didn’t work, and also, all previous animations, such as running and jumping are gone, and I’m stuck in the idle state that you see when looking down. Do you know where I went wrong? (I can still move and jump, but there are no animations.)
I had the same problem, i just made a whole new animation blueprint. Honestly i was deppresed :D Now as a begginer i have a lots of problems with a fucking simple crouch system :D
Thanks man how you learned unreal i live in iran and here we dont have any courses about unreal and i cant buy courses form other countries because we are ban what you suggest i do to learn unreal ? 😩😩
I learned mostly everything I know from TH-cam and documentation LOL- along with like unreal forums and Reddit. I never bought a course before
hey i have a question so im trying to make a animation for my flashlight so when i press F you can actually see the flashlight and my hand but i dont really know how to lol and by the way amazing video!
Hi! Yea, so you’re going to have to create/find an animation for holding the flashlight and when you do blend that animation to be the upper half of the body and your walk/ run animation be the bottom of the body. That’s one way at least! I intend on making that a tutorial down the line :)
@@codethings nice! that would be nice because i think its more realistic than just having a spotlight
What about a first person that didn't have a mesh(body)
Yes.. I have a same doubt
This series in particular focuses on realism and so not having a mesh for a body was not the focus, however I will be doing a series for this in the future. Also doing this with no body is somewhat easy to accomplish as it is just the beginning part of the tutorial and not the animation part!
@@codethings Thank you man.. you're tutorials are so good.. waiting for it ..
@@codethings hello there! im also applying the tutorial with no mesh, i have the first part down but upon pressing the crouch button the character camera snaps instantly to the lowered height. how do i make it a smooth camera lowering transition?
@@arikijin ah I see! It shouldn’t be too hard if there is no mesh, you can add this transition by making a custom event for starting to crouch and ending crouch and connect them to a timeline (which will be a float track with the length as long as you want the transition in seconds and from 0 to 1 in value) on play and reverse respectively. You can make the value of the timeline be the alpha of a lerp between the crouched height and the standing height (creating that transition effect during that alpha value), then setting that value to be the half height of the capsule component. Here is a blueprint showing how to do it, hope this helps!
gyazo.com/36a1fe70697e01dd056edac1b9f93b7a
A quick question what kind of microwave are you using?
LOL