Posted February 22, 2023 by chillco
So I noticed back when I was programming the revolvers first iteration that it would shoot from the barrel in the direction of the camera, causing it to be visibly offset depending on where the viewmodel was, so what I did here was I implemented an alt-fire toggle for iron sights where the viewmodel will be more strictly locked to right in front of the players face, causing bullets to land at most RIGHT under where you fired them
then after I finished that I somehow just recently noticed my game had no shadows, that is fixed and i got them working with transparent materials.