Hi, I am trying to make a game that will involve a shooting mechanic. I already have a solid player movement, animation and enemies. However, I am encountering a problem with the shooting. The mechanic works and I can spawn the bullets, but I cannot figure out how to flip the shooting point, video is here: https://drive.google.com/file/d/1xEoUl_IXf8e4E6nZwgyiugaM-YyaDSKZ/view?usp=sharing
This video shows the script I’ve used, any help as to why this is happening and how to fix it would be appreciated. 2023-07-12 14-24-46.mkv - Google Drive
Side note: I have tried replacing the flip.x with transform.Rotate(0, 180, 0) and while that works somewhat, it causes the character to glitch and the shooting point does not always change direction with the player.

