Weapon sway issue

Godot Version



Hi I have an issue with my weapon sway, since I followed a tutorial and applied it, it goes to the middle of the screen when it should be in a side, I can’t find the origin of the issue, anyone knows how to fix this?

Could you share a link to the tutorial? (If it’s freely available.)

If not, could you share how the weapon sway mechanic works?

this mainly caused by pivot issues, can either your parent or the weapon itself wrong pivot, hence it rotates weirdly