Quantcast
Channel: Questions in topic: "gun"
Browsing all 592 articles
Browse latest View live
↧

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 Article


how do i make a gun shoot in multiplayer

I want to make a multiplayer fps for my friends I am using photon cloud

View Article


Bullets 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 Article

Shoot 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 Article

bullets 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 Article


Invoke 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 Article

Ammo 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 Article

Stop 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 Article


Fps 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 Article


How 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 Article

Creating 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 Article

How 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 Article

Gun 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 Article


How 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 Article

I 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 Article


Gun 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 Article

Shooting & 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 Article


Cant 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 Article

My 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 Article

Rigidbody 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
Browsing all 592 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>