Search the Community
Showing results for tags 'FPSGun'.
Found 2 results
I am currently getting problems with the Fpsgun script. I made a prefab and attached it to an turret in the map via path. http://pastebin.com/LapGp5nw Heres the modified fpsgun script. In detail the problem is that the muzzle (shooting direction) should always be in front direction of the turret. The second problem is that the script doesnt know the fpsplayer anymore, so there is no camera to align the effects to. There are going to be multiple turrets in the game, so there should be a global camera, but I dont know how to set it up . I have tried to fix it but it doesnt work really well. I would apprechiate any help on this.