Try this, replace snowball with your game object. I am still trying to find out a better way:)
answered Nov 17 '10 at 02:48 PM
put A empty game object in front of your gun ( where u want to shoot from) and name it "spawnPoint" then attach this script:
to the player, you can edit the fire rate, in the inspecter panel make sure to when it says prefab, add a game object there, such as a cube or sphere.
answered Jun 25 '12 at 04:08 AM