x

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"

Problems while Changing the Collision Capsule Size while dashing

Hi!

My dash looks somehow like this one: https://www.youtube.com/watch?v=MvSDCLsb4WQ Basically my animation makes my character Size to cut his height by half. When I use the "Set Capsule Size" Blueprint Node for the dash, it goes well. But when the dash ends, the "Set Capsule Size" sets the default value and my character gets stuck in the ground (ex: with the idle animation where the character is standing). I was searching for a way to move the capsule with blueprints, but I couldn't find any way.

How do I solve this problem?

Thanks in advance! Cheers!

Product Version: UE 4.19
Tags:
more ▼

asked Jun 08 '18 at 11:31 PM in Blueprint Scripting

avatar image

XPneuma
3 1 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first
  • make line trace from character center to the ground to get distance.

  • compare it with capsule height to get difference.

  • adjust current position according to that difference.

  • profit!

more ▼

answered Jun 09 '18 at 04:06 AM

avatar image

redbox
4.3k 81 19 104

avatar image mightyenigma Jun 09 '18 at 08:38 PM

or you can use a capsule trace to make sure it dowsnt get stuck in a place big enough to fit the line but too small for the capsule

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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