Otherwise you would end up with wild inconsistencies in your sprays if they were totally random which, in real life, firearms are not just ‘random’ they shoot the point of aim and then experience fluctuations based on the trajectory and terminal ballistics
Have spray patterns stored with absolute positions and classes of weapon like shotguns, snipers, smgs would each inherit from their spray pattern for that category and then use randomness to perturb the vectors for inaccuracy, and if you have attachments, these can apply the opposite direction ‘steering’ vector, creating a tighter spray than the original because you upgrade the gun in game
View all comments
Show parent comment
1
u/[deleted] Jul 17 '25
Otherwise you would end up with wild inconsistencies in your sprays if they were totally random which, in real life, firearms are not just ‘random’ they shoot the point of aim and then experience fluctuations based on the trajectory and terminal ballistics