Hey guys, I'm trying to shoot a projectile out of the end of a gun but can't seem to figure out how to get the rotation right when I'm adding force to it.
Here's my code:
http://pastebin.com/kEpr9TuU
All it does is shoot upwards. Any ideas?
↧