Projectile fire into random direction?

I think setting the rotation of a projectile would just rotate the project. not change what direction it fires in.
Doing it my method would get you the results you wanted. (Setting the spawn transform).