# Attach component to component breaks the character movement, unless I'm aiming? 

**URL:** <https://forums.unrealengine.com/t/attach-component-to-component-breaks-the-character-movement-unless-im-aiming/2682121>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [December 4, 2025, 5:55pm UTC](https://forums.unrealengine.com/t/attach-component-to-component-breaks-the-character-movement-unless-im-aiming/2682121 "2025-12-04T17:55:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fredtholomew](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fredtholomew](https://forums.unrealengine.com/u/Fredtholomew)\
**Post date:** [December 4, 2025, 5:55pm UTC](https://forums.unrealengine.com/t/attach-component-to-component-breaks-the-character-movement-unless-im-aiming/2682121/1 "2025-12-04T17:55:22Z")

</div>

Hello,

I’m in the process of learning UE and I’ve gotten pretty far but I’m stuck on this. I’m following a new tutorial for an inventory system. I can put items on the map, pick them up, save them, etc.

The last part was equiping an item, in this case, a gun. All of that works well, but when I equip the weapon the character movement goes weird. Like it’s being pulled to one side, kinda.

So, for testing pressing 1 equips the pistol:

 ![0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/5/5e55b89b092485d2e48b5ffc242b1ea6371dc4f8.png)

This is the equip function:

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/7/4e7365d5851de2ec56773765d07828fdb4231104.png)

For what I can tell, everything is ok here.

This is the AttachChild function:

 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/9/fb9e11b0e52f4215dfc4c7dc460c5bda7043cd2f.png)

The problem seems to be there, somewhere, somehow. If I unplug this everything works but, obviously, the character doesn’t equip the pistol.

Now, personally, in my very limited knowledge, that attach component to component seems a bit weird, but I don’t know enough to know why.

I have a small video that might explain things better. First the movement is good. I pick up the gun, all good. Then I equip it by pressing 1. Still all good. But then you’ll see that the movement is weird, UNLESS I aim… and that confuses me even more. I have a whole other section of blueprints that deals with aiming but I think it shouldn’t have to do anything with this?

I’m very confused, and at the same time I have a feeling it’s a silly mistake on my part.

Any and all help would be greatly appreciated!!

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [December 4, 2025, 8:16pm UTC](https://forums.unrealengine.com/t/attach-component-to-component-breaks-the-character-movement-unless-im-aiming/2682121/2 "2025-12-04T20:16:04Z")

</div>

First off you should be using Attach Actor (gun) to Component (character mesh).  
Second, attach actors cannot have collision that blocks the pawn capsule. It interferes with character movement.

---

<div class="post-metadata">

**Author:** ![Fredtholomew](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fredtholomew](https://forums.unrealengine.com/u/Fredtholomew)\
**Post date:** [December 4, 2025, 8:30pm UTC](https://forums.unrealengine.com/t/attach-component-to-component-breaks-the-character-movement-unless-im-aiming/2682121/3 "2025-12-04T20:30:31Z")

</div>

Ok, the collision was my first thought, so I’m pretty sure (again, new at this) that I deactivated that. Attach Actor to Component does make a lot more sense to me. I’ll try that and report back! Thank you!
