Figured it out, and i'll leave it here for anyone else who might have the same problem; i was instancing the bullets from inside the player body, and it was colliding with itself, causing the bullets to ricochet off the character. I solved it by just putting an Area2D in front of the character.