Bullet location issue

I am trying to have a bullet as a physics Node spawn to the left of the player [Firing from an arm] and I am having a problem setting the bullet to use the player’s local coordinates.



All attempts I have made have resulted in the bullet spawning relative to the world, and failing to rotate with the player, as the player/camera combo turns. As the player has a PlayerCollisionShape, if you turn all the way around the bullet will collide with you when you shoot, and push you forward (the bullet shoots towards the camera direction).



How would I cause the bullet to always fire from the left of the player (local left), even as the player turns?

Look at TestWalkingChar, it does exactly that.