Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Where is the Set crouched Half height?

I wanted to add a new custom crouched half height when the character is prone. I can't change the values dynamically. I can't use the Set Capsule half height since that mean there will not be ground collision and char will sink. Any ideas?

alt text

Product Version: UE 4.20
more ▼

asked Oct 17 '18 at 05:06 AM in Using UE4

avatar image

3 2 1 2

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

You are not missing anything. This is something I was struggling with for a minute, but unfortunately it is a serious oversight on epic's part, somebody did not expose this variable to be set by blueprints (intentionally or unintentionally I do not know). I did put in a request to have it exposed, hopefully one day it is.

more ▼

answered Oct 17 '18 at 08:48 AM

avatar image

Steve SybrSyn
1.5k 4 5 9

avatar image npnFF1517 Oct 17 '18 at 09:34 AM

Thanks.I hope they fix it soon. It will make my life a lot easier if i can change capsule size from the ground.

avatar image mightyenigma Oct 26 '18 at 06:27 PM

In the meantime you can create your own blueprint node by adding a C++ class. Have it take a CharacterPawn and a float as input params, and that should do the trick.

avatar image Xanadron Jan 10 '19 at 12:54 AM

Hi! Could you point me towards a tutorial or something on how to achieve this? Or can you be more explicit?

Best regards, Alex

(comments are locked)
10|2000 characters needed characters left

I found this tutorial on how to expose split screen on/off to blueprints. You could use the same approach but for the set capsule half height on player character class as a parameter to a function library function like this one:


more ▼

answered Jan 10 '19 at 07:40 AM

avatar image

3.7k 18 18 15

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question