I need to know how to get a bullet to travel in the opposite direction with a random offset.
This is for saber blocking.
To make it go in the opposite direction I do setthingvel(bullet, vectorscale(getthingvel(bullet), -1)); now I just need to know how to apply a random offset to that.
Any help would be greatly appreciated.
------------------
"Anakin, when I tried to earn my knighthood by defeating a Sith Lord, I actually WON."
-Obi Wan Kenobi
This is for saber blocking.
To make it go in the opposite direction I do setthingvel(bullet, vectorscale(getthingvel(bullet), -1)); now I just need to know how to apply a random offset to that.
Any help would be greatly appreciated.
------------------
"Anakin, when I tried to earn my knighthood by defeating a Sith Lord, I actually WON."
-Obi Wan Kenobi