Okay, so I have checked a metric crud ton of forms out there and they all have similar "solutions" to my problem, note I had that in quotes.
They seem to work for other people, but I have a particular case that prevents what other people have work for them work here.
Like for example people say to randomize the face in which the player is facing by small margins then fire a projectile which has its motion unchanged its just the angle the player was facing that changes the direction its fired giving the illusion of spread, but I am not doing that because the gun is SEPARATE from the player.
So, I'm forced to do the real deal.
I am spawning in a bullet, upon creation that bullet has its angle of motion changed according to a random number
( I used all the randomizers out there, with similar results; )
so either itd be floor(random(x,x)), round(random(x,x)), int(random(x,x)) Whatever:
If there is a error in any of these examples, don't mention it as it's not the point.
They all work to make the trajectory random: But thats the problem.
I want the direction the gun is facing PLUS a randomizer.
So you fire it forwards? Okay, add a 10 degree randomizer IN THAT DIRECTION.
That is the desired effect: Now clearly, I can't do this with a randomizer alone: I need to add it over the direction the gun is facing.
But as of now I have no clue how to format that: Anyone have an idea on how that would be written?