# Weapon Rotation bug

**URL:** <https://forums.unrealengine.com/t/weapon-rotation-bug/1670685>\
**Category:** Programming & Scripting\
**Tags:** weapon, actor-rotation, unreal-engine, question\
**Created:** [February 6, 2024, 7:58pm UTC](https://forums.unrealengine.com/t/weapon-rotation-bug/1670685 "2024-02-06T19:58:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AurusTV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AurusTV](https://forums.unrealengine.com/u/AurusTV)\
**Post date:** [February 6, 2024, 7:58pm UTC](https://forums.unrealengine.com/t/weapon-rotation-bug/1670685/1 "2024-02-06T19:58:11Z")

</div>

Hello Devs,

I created a weapon system (including a Pistol and a Rifle).  
All worked fine. But when I started the editor today, somehow out of nothing, the rotation of the Pistol gets buggy after I shoot.

This only happens with the Pistol. All the other weapons are working fine.  
I have no clue how to fix that, since this bug came out of nothing. It used to work so well.

---

<div class="post-metadata">

**Author:** ![baobao4435](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/baobao4435/32/950790_2.png) [@baobao4435](https://forums.unrealengine.com/u/baobao4435)\
**Post date:** [February 6, 2024, 8:16pm UTC](https://forums.unrealengine.com/t/weapon-rotation-bug/1670685/2 "2024-02-06T20:16:14Z")

</div>

Where do you put the weapons on?  
They don’t look like attach to your character hand…

---

<div class="post-metadata">

**Author:** ![AurusTV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AurusTV](https://forums.unrealengine.com/u/AurusTV)\
**Post date:** [February 6, 2024, 9:10pm UTC](https://forums.unrealengine.com/t/weapon-rotation-bug/1670685/3 "2024-02-06T21:10:20Z")

</div>

They are attached to the character mesh. Every weapon has it’s own socket at the mesh’s hand.

It worked all fine untile today. Now the gun rotates and behaves weirdly.
