When my character lowers, he remains suspended in the air with the capsule that does not get thinner. Or go too far, look at the pictures to understand. How can I fix it? You will be rewarded immediately!
alt text
This is a simple fix. Inside your character blueprint → character movement component → adjust Crouched Half Height value.
I followed this tutorial on YouTube Unreal Engine 4 - Cover with collision Handling - YouTube . I also put the photos with all the steps I had done. Tell me what I should change. What you said I had already done
I hope you understand where the problem is
No offence but that is a horrible tutorial, I would find a better tutorial to learn from.
That being said, all your animation stuff looks fine, it’s those weird set capsule half height functions, get rid of those. I have no idea why the world location is being set like that.
All you should need to do is call “crouch” and make sure to set the correct capsule half height inside the defaults panel of your character movement component, no need to call and adjust it from code.
You might have to tweek the capsule half height a few times to get it just right. Let me know how that works.
I thank you for your availability. You could send me a picture of what I should do.
Or maybe a Youtube tutorial that looks good to you. I’m still a beginner, if you help me I do not know how to thank you
No problem, you are welcome.
Here is a screen shot of inside the character blueprint. Simply call crouch and uncrouch from a button input. Select the character movement component on the left in the components panel, then search for crouched half height on the right in the details panel, and adjust that value (Mine is set to 60, but yours will probably be different). You may need to play and adjust that value until you find the correct half height.
Can you help me with the other problem?https://answers.unrealengine.com/questions/836431/view.html