So I am trying to make an FPS project (for the first time) and I am having a bit of problem figuring out the “correct” way of implementing shooting with a projectile based system, or to be more specific, making the projectile shooting as accurate as possible while still having the projectile fire out of the guns muzzle (visually).
If I spawn a projectile at the guns muzzle than it won’t be accurate because the projectile won’t fly where I am aiming but if I spawn it in front of the player camera you will see the projectile pop out right in front of you instead of it firing out of the gun which looks weird I guess.
So what is the right method for implementing a projectile based shooting system (like for example Battlefield or PUBG)? Will the method be different if you include the ability to ADS (aim down sights)? Should you even be able to see the projectile fly through the air because fired bullets in real life are basically invisible to the human eye?
How do FPS games that have bullet drop normally do this?
Sorry for having so many questions but I am really confused right now.
Thanks!