Quantcast
Browsing all 592 articles
Browse latest View live

New Arms for every Gun model or IK targets?

Hey, I want to make a multiplayer FPS. I already created the whole Body of my character wich is only seen by the other player and several guns with the same arms for each one. Now I realised that I...

View Article


Testing Animations And They Just Don't Seem To Work

So I'm planning to make a personal project and wanted to create the simplest gun I could think of. Two objects, one main gun and another the magazine. So I animate both the gun and the magazine in...

View Article


Trigger events with bullets

I am trying to find a way to use the following code to trigger a target to fall over. However; every way I try to do this I can't get the event to occur. using UnityEngine; using System.Collections;...

View Article

How to have magazine from a gun come out realistically and actually spawn...

I'm trying to code a reload animation. In a game like Max Payne 3 when the gun reloads the gun realistically ejects out a magazine when the character removes it when his hands. And then grabs and puts...

View Article

Mecanim idle becomes permanently screwed up.

Let's say I have a gun object, that is disabled, not destroyed, when weapons are switched. Let's say that the hand holding the barrel moves during an animation to, say, grab the magazine. I have an...

View Article


Adding muzzle flash to the gun....

I Want to add a muzzle flash to the gun the gun automatically fires if the gun aims on enemy...... #pragma strict var Rounds : int; var Ammo : int; var Reloading : boolean; var MaxAmmo : int = 20; var...

View Article

Reloading delay problem..

#pragma strict var Rounds : int; var Ammo : int; var Reloading : boolean; var MaxAmmo : int = 20; var theDammage = 100; var delay = 0.1; var timestamp = 0.0; function Start() {...

View Article

Adding muzzle flash to the unity

#pragma strict var Rounds : int; var Ammo : int; var Reloading : boolean; var MaxAmmo : int = 20; var theDammage = 100; var delay = 0.1; var timestamp = 0.0; var ReloadTime = 1.8; private var reloading...

View Article


Bullet Spawn's Rotation Changes When Gun's Rotation Changed

When turret/gun is turning , bulletSpawn's rotation is turning too. So i cannot spawn bullets in proper direction. Here is some screen shots. Normal Rotation : http://imgur.com/uYBvgjr When i rotate...

View Article


Animation script

My aim is it to press a key and the player takes out a gun. If you press the key again, he puts it back. I've already got the animation, but I tried many scripts, but they didnn't work. Pls help me! 1....

View Article

Recoil with the FPS controller

Hello! I'm trying to create a recoil system to my current FPS game. The recoil system should rotate the camera, and then slowy change back to normal again, however the mouselook script locks the...

View Article

Having trouble getting fps gun(s) too shoot please help me out now

Hey there it's me Richard Haley once again just letting you all know that I'm now having trouble getting fps gun(s) too shoot bullets out of them, when I press down on the left mouse button. I really...

View Article

STUCK! Firing a simple sphere from below the camera at crosshair in the...

I have a game that spawns "enemies" within a sphere around the camera, the player moves the camera to target and simply presses the screen to fire. For now my "ammo" is simply a sphere and for visual...

View Article


Unity 5.6.0f3 + GearVR screen white flash

Hello, i am have some bug with white screen flash when start the app and when go back from Oculus Confirm Menu or Global Menu to the game. I аm try versions 5.6.0f3, 5.6.0p4 and this bug have both. In...

View Article

Trouble with both rapid fire and also firing on control in fps game.

Hello there it's me Richard B. Haley yet again with another problem and this time it's with both the firing speed along with the fact that I cannot (for some reason), seem to shoot my guns when ever I...

View Article


Aim Down Sights and Weapon Sway not working unless animations are not assigned

Hi, Aim down sights and weapon sway won't work unless in the animator the actual animations aren't assigned. (Except Idle, Idle works fine.) ![alt text][1] This is currently my setup under the animator...

View Article

My shooting is being glichy

I just want prefabs to go from the player to the target. Here is my script. void FixedUpdate() { timer = Time.time; Vector3 Emitter = transform.position; if (Input.GetMouseButton(0)) { if (Time.time -...

View Article


RayCast Line Not Rotating with Gun?

Hey gang Have my Recast machine gun looking beautiful here only problem is "Forward " Dose not rotate when I rotate my Gun and keeps facing the One-direction... public float FireRate = 0.1f; private...

View Article

Photon Weapon View

Hello friends. I'm doing an online game using photon. But I do not see the gun when I do it. Please help us how to fix it.

View Article

How can i make GUI ammo

HI,HI,HI , HOW CAN I MAKE GUI AMMO SCRIPT THAT SHOW THE CURRENT AMMO IN GUN AND THE LEFT AMMO , AND WHEN I RELOAD ,THE AMMO LEFT IS Decrease Plz type script

View Article
Browsing all 592 articles
Browse latest View live


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