I'm learning Godot and as a part of that, I'm coding a tank segmented into two parts: the body sprite, and the turret sprite, both are attached to a kinematicBody node that contains a script that moves the tank and triggers the shooting. The turret sprite contains a short script to rotate itself after the mouse.
Now here's the issue. As I rotate the tank body the bullet fired from the turret flies away at disparate angles wholly unrelated to the way the barrel is facing.
Now my theory is that since the bullets angle is derived from the relative position of the tank's rotation but the bullet is placed on the main node it receives a strange angle.
How do I resolve this? I've done a bunch of looking, maybe I'm tired or blind, but I can't seem to find anything.