Hi, I’m trying to make a simple shooting game. I’ve set up shooting bullets in a separate script to the player’s movement, bullets spawn at a node attached to my player character. But when they’re spawned whilst the player is moving their position is slightly behind the node’s location.
Video of the problem: Screen capture - 1e32330dd0b8aa8c49cbd8cdd7d69071 - Gyazo
Code:
any help would be appreciated, been tearing my hair out