# Problems while Changing the Collision Capsule Size while dashing

**URL:** <https://forums.unrealengine.com/t/problems-while-changing-the-collision-capsule-size-while-dashing/426980>\
**Category:** World Creation\
**Tags:** dash, capsule, unreal-engine, Collision, Blueprint, question\
**Created:** [June 8, 2018, 11:31pm UTC](https://forums.unrealengine.com/t/problems-while-changing-the-collision-capsule-size-while-dashing/426980 "2018-06-08T23:31:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_08dbae10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_08dbae10](https://forums.unrealengine.com/u/anonymous_user_08dbae10)\
**Post date:** [June 8, 2018, 11:31pm UTC](https://forums.unrealengine.com/t/problems-while-changing-the-collision-capsule-size-while-dashing/426980/1 "2018-06-08T23:31:16Z")

</div>

Hi!

My dash looks somehow like this one:  
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!

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [June 9, 2018, 4:06am UTC](https://forums.unrealengine.com/t/problems-while-changing-the-collision-capsule-size-while-dashing/426980/2 "2018-06-09T04:06:39Z")

</div>

- 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!

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [June 9, 2018, 8:38pm UTC](https://forums.unrealengine.com/t/problems-while-changing-the-collision-capsule-size-while-dashing/426980/3 "2018-06-09T20:38:14Z")

</div>

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
