Problem in 2D Gun Rotation
Hello everyone ![![alt text][1]][1] [1]: /storage/temp/14042-errrrrrr.png as u can see in picture when i aim in the right side my Gun is Okey but when i look/aim at the left side my Weapon Flipped...
View Articlehow do i make a gun shoot in multiplayer
I want to make a multiplayer fps for my friends I am using photon cloud
View ArticleBullets getting stuck in air
Hi, I have a annoying problem with my bullets; whenever I fire my gun the bullets go off like normal, but some of them get stuck at either the players position, or a bit ahead of the players position....
View ArticleShoot Script not working correctly
I was following this tutorial for a shoot script : [LINK][1]. I copied the script and I am having two errors. The first error is that the BulletsLeft doesnt go down when I shoot. The second error says:...
View Articlebullets wont show up
I made a bullet thing that my gun shoots small cubes and it works normally but when i add my bullet script the cube comes and disappears instantly? Here is the bullet script: var maxDist : float =...
View ArticleInvoke shoot delay problem.
I can't figure out how to delay my gun shoots/shooting/shots.... To delay between the shots. I'm tryong to use Invoke("Firing", shotDelay); and its not working. For the AI I use InvokeRepeating and...
View ArticleAmmo Script
Hello, i have my basic shooting script with bullet clone, muzzle flash & bullet texture instantieted and i dont know how to make reload function, heres my script: var bulletTex : GameObject[]; //...
View ArticleStop all animations
how do i stop all animations?, in my case when is reloading i want to stop all animations for 2.5 seconds, cause it looks weird that my gun still looks like its shooting while its reloading
View ArticleFps Controller fixed object (Gun)
I have made a simple aiming script for my gun. I adjusted the gun and arms to where I wanted them on the FPS controller and now when I hit play they just disappear! I checked the position on AimPose...
View ArticleHow to destroy GameObject's script(s)?
So I am trying to make so that when I am shooting the enemies, they could stop moving (Deleting the EnemyAI script by killing him) and I tried to do the: Destroy.script(EnemyAI) or Destroy(EnemyAI.js)...
View ArticleCreating laser gun effect.
I have tried several different ways but I cant get a good laser gun effect like in this move: http://www.youtube.com/watch?v=izw4vM5i9Fk Any recommendations on how I can get an effect like this and...
View ArticleHow to start making a android Game
Hello guys hope you had a nice game ! Am new to unity 3D and must tell its amazing ! Me and my friend are making FPS GAME on Android ! but still didn't start we just made alots of model on 3D max and...
View ArticleGun Look at mouse script not working
I want my gun to look at my mouse like in this game: http://www.youtube.com/watch?v=rAwIzZ49V7M Here is my script: Vector3 gunLookPos = new Vector3(0f, Input.mousePosition.y, Input.mousePosition.x);...
View ArticleHow to put a pause in a function?
Alright, so i want the game to play out as: player shoots > has to wait 2 seconds > player can shoot again. Here is my code, I'm using raycast shooting with function updates, however i can't put...
View ArticleI have a problem with fire and reload in my GUN SCRIPT
I'm trying to make a script to my GUN, with many features like sound for firing, reloading, animation for the same, fire rate and more, but i'm facing a problem that's when i'm reloading if i tap the...
View ArticleGun script using Physics.Raycast not working?
I am using these scripts for my game to make my gun fire and shoot zombies. **This is the script on the gun:** function FireOneShot () { var direction = transform.TransformDirection(Vector3.forward);...
View ArticleShooting & Animation Problem
I've got shooting script, here is a part of it: var Bullet : Transform; var Speed = 500; var spawnPoint : Transform; var RapidFire = true; var SingleFire = false; //RateOfFire private var Counter =...
View ArticleCant Kill Multiplayer Player In Unity, Help!
I have a multiplayer game set up and working i can spawn, kill,die But the first who spawns cant be killed by the one who spawns after I dont know if this has to do anything with the networkview Please...
View ArticleMy bullets wont work when i shoot them
I am making a shooting script which mostly works except one thing when i shoot the bullet dissapears and i try viewing it in #scene mode and it is behind me or under the map and i dont know why! i am...
View ArticleRigidbody bullets won't spawn at gun barrel...
This is my first project in Unity and I am trying to create a simple FPS game. My problem is that no matter what I try, my rigidbody bullets won't spawn at the designated object but instead, somewhere...
View Article