Quantcast
Browsing all 592 articles
Browse latest View live

HTC Vive object multi-controller handleing help

Hey everyone, I am pretty familiar with unity on its own, but recently I've been trying to delve into the world of VR programming. So now I feel kinda like I'm relearning everything and I need some...

View Article


Walk animation wont play but idle will

Hi!, I am making a FPS game but my walk animation won't work, when i press W,A,S, or D, my gun just jerks heres my script(In javascript): function Update() { if (Input.GetKeyDown(KeyCode.W)) {...

View Article


Reversed Rotation Problem

Hello everyone, I've been working on a 2D platformer game for a bit. But I've had a problem with the rotation of my player character's gun and the bullets being fired from it, which I've been stuck on...

View Article

how do add ammo and reload to my script? redo

using UnityEngine; using System.Collections; [RequireComponent (typeof (AudioSource))] public class Gun : MonoBehaviour { public enum GunType {Semi,Burst,Auto}; public LayerMask collisonMask; public...

View Article

1 script doesn't react to input

so I have a shooting script which did work at first and then I went off for a while and came back to unity to start working on the project again and suddenly only this script doesn't react to my mouse...

View Article


Weapons Names And Models Licensing

I'm currently working on a new project and i am modeling weapons for the game which look pretty similar to the real gun. So my question is: Can I use the weapons names and models in my game? Is there...

View Article

How to attach shooting gun to my eyes???(HTC vive) When I press the button on...

using UnityEngine; using VRTK; public class Gun : VRTK_InteractableObject { private GameObject bullet; private float bulletSpeed = 1000f; private float bulletLife = 5f; public override void...

View Article

Please help me solve the problem with shoot a gun(HTC VIVE)

How to attach shooting gun to my eyes???(HTC vive) When I press the button on the controller, it should fire from my eyes. But it doesn't work! please help me what to do!! I really need your help!...

View Article


Activating particle system and deactivating it after 0.8 seconds.

I have a gun(player's gun) and Zombie.I want to make script Zombie.cs and attach it to zombie. So when i shoot zombie he needs to spill blood (activate particle system) and deactivate it after 0.8...

View Article


Multiplayer First Person shooter similar to Battlefield

I can get a base multiplayer game down, with shooting, sprint, jumping, and health. I just can't seem to get a weapon select system, or anything similar to that. I want to make a multiplayer game...

View Article

How do I make a line render always be pointing at the center of the canvas/gui

I'm making a FPS and am trying to make a laser sight that looks like it is coming out of the gun and looks like it is in the center of the screen, so there is a line from the gun to the center

View Article

3rd person weapon equiping

I'm trying to figure out how I could make the character hold the weapon by the grip. Right now I set the gun position and parent it to the hand bone, but this will place the weapon in a wrong place....

View Article

How can I deactivate a GameObject's Child (Gun) however keep the parent (the...

This is my hierarchy: **Player** *>Gun1* *>Gun2* This is really annoying, I activate and deactivate guns for my player to use them one at a time, but unity just deactivates my whole player. the...

View Article


Any problem with using real weapons in a FPS game?

Do you need to contact/buy any kind of license for using real weapons in game? Or at least their names? Many indie games are using real names and models and i don't think any indie developer would have...

View Article

Y Axis rotation is increasing too fast

Hey. I have a gun and a bulletEmitter (empty gameObject). The bulletEmitter is a child of the gun. It is located at the front of the barrel. If i rotate the gun the bulletEmitter stays infront of the...

View Article


3d or 2d? please help unity creators

i have a question would a game like doom or wolfenstien or something like that be called a 3d or 2d game? please answer i really need the info from a unity creator.

View Article

FPS aim marker Question

I have a FPS style game and the camera is posited at a slight angle to the gun (see attached image, note the red line from the gun barrel). I do not know how to position the gun aim marker as the...

View Article


Gun shoot problem?

I'm currently participating in a Unity tutorial, and I ran into something weird. The term "&&," which he uses, is an "invalid expression" in my game. I don't understand, could it be a simple...

View Article

Gun Modelling Question

I want to add a reloadable pistol in my Unity game. Do I need to model the whole gun apart from the magazine or do I model the gun magazine **WITH** the whole gun? Im sorry for asking so many...

View Article

How to make a gun shoot where your mouse is [C#]

So, I found a basic gun script and I need to modify it so it can shoot where my mouse it. From what I read, you need to use rays, which I don't know how to do. @Mavina Also, Mavina, I don't know how to...

View Article
Browsing all 592 articles
Browse latest View live


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