Surprisingly, it takes quite a bit to do the ray tracing for a bullet projectile. Figure out the spawn location (usually the muzzle of a gun) then have it collide with another object of your choosing, usually a wall or solid object.
Bullets can go through bushes typically but not walls, hence a lot of coding to get the right camera or player viewpoint / viewport.