Problem with rotation and animationplayer

Godot Version

Godot_V.4.3

Question

I have a enemy tank that shoots player.The enemy is Characterbody2d,there is a Sprite2d called Body which is an child of Characterbody2d, and there is one more Sprite2d called Dome that is an child of an Sprite2d Body.The enemys bullet global rotation is equal to Dome global rotation.The problem is when i use Animationplayer to set the rotation of the enemy tank, the bullets rotation is wrong.I hope i explanied that right.If need ask some more questions.Thanks

when I get problems like his and I get all confused with rotation and global vs local I do this . Take the node you want to rotate , like player and do player.rotated(Vector3(0,1,0),Vector(0,deg_to_radian(some_degree_you_want),0) and just brute force the rotation for now , get it so it looks like what your after , then note that angle , look for patterns in your heirarchy how how that angle was formed . Is it coming from the parent ? or the parent of the parent ? Do you have to subtract the two ? I know this sounds cavemanish but it helped for me .

( edit ) Vector3(0,1,0) need to choose some axis to rotate around,.

Thank you for your response ,to be honest this sounds very confusing but im a try my best

Its been a 30 minutes and i give up.Thanks for trying to help