# How make collision not move around a Character on hit?

**URL:** <https://forums.unrealengine.com/t/how-make-collision-not-move-around-a-character-on-hit/2135116>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [November 19, 2024, 11:53am UTC](https://forums.unrealengine.com/t/how-make-collision-not-move-around-a-character-on-hit/2135116 "2024-11-19T11:53:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![satrya070](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@satrya070](https://forums.unrealengine.com/u/satrya070)\
**Post date:** [November 19, 2024, 11:53am UTC](https://forums.unrealengine.com/t/how-make-collision-not-move-around-a-character-on-hit/2135116/1 "2024-11-19T11:53:42Z")

</div>

Hi all,

I’m having some collision behavior that I don’t want. Basically when the character gets hit, I don’t want the character to be moved by it. See the video below:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/5/5a55ff3faf39a408d35b41b889dc1b2691e1285b.jpeg "Collision behavior") ](https://www.youtube.com/watch?v=r88EjN3pNhE)

The shpere collider on the foot collision setting is by default on “NoCollision”, and during the kick animation is set to “OverlapAll” for the during the duration of the animation. During this I check if the footcollider hits the capsule collider of the character, to apply damage. The collision on the Charachter I’m kicking is set to “Pawn”.

My question is how I can make it so, that the kick doesn’t move the character around like that. Or could I at least somehow make it bound to be only to be moves on that one axis, which would be acceptable too.

---

<div class="post-metadata">

**Author:** ![satrya070](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@satrya070](https://forums.unrealengine.com/u/satrya070)\
**Post date:** [November 23, 2024, 5:10pm UTC](https://forums.unrealengine.com/t/how-make-collision-not-move-around-a-character-on-hit/2135116/2 "2024-11-23T17:10:02Z")

</div>

It seems like the source wasn’t the collider on the leg when kicking, since I was also able to push the other characters away by just walking up to them with a certain angle or speed, I suppose. So I now set the collider of the skeletal mesh of the player to overlap other “pawn” instead of block, and that seems to have made the unwanted behavior stop.

I don’t know 100% if I’m correct but what I think the case was is: the kicking animation among other things makes the skeletal mesh go outside the capsule collider of the player(that blocks the pawn as it should), but since the collision of the skeletal mesh is set to block “pawn”, that is what made it push away other characters. Or at least it has to be something along these lines, since the above action fixed the bahavior.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [December 23, 2024, 5:10pm UTC](https://forums.unrealengine.com/t/how-make-collision-not-move-around-a-character-on-hit/2135116/3 "2024-12-23T17:10:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
