I have a tank turret that can rotate 360 and a point attached to the end of the barrel to spawn the projectile. When I rotate the cannon and fire the projectile spawns at the correct place, but it does not move in the correct direction. It keeps the original rotation, and always moves in the same direction.
What do I need to do so the projectile inherits the direction of the turret? The codes in C#
Thanks!