I am working on guns, which i have 99% done. However, i only want my bullet holes to randomly go left, right, up and down due to accuracy, so it isn’t spot on all the time. I have achieved this, however the holes do this:
Assuming you are using Ray’s, just randomly tweak the “Directional Vector” a tiny bit, so that it shoots with a small amount of bloom.
Here is a post including some sample code:
Using this method offsets the direction the Ray casts at, so you don’t have to worry about randomizing the hit position afterward.
To prevent stacking, you will also need to insert the previous bullet holes into the IgnoreList of the Ray, as a table.
I thought it was that too, but that isn’t it, its moving randomly on every axis, while i only want it to move based on where im shooting. I dont want it to come towards me, only stay on the wall.