I used a free model blue Sci-Fi type of gun, and I don't know how to make it fire bullets.

All Tool Subcategories. Particles & Effects.

Need more info.

Utilities.

New to Unity? The reason it is getting faster is because you are adding force every update tick, so the further away you are shooting the more updates are called & therefore the more force is added. Find this & more Characters on the Unity Asset Store. I'm currently working on a platform 2D game.

Check this out (not my video) softwizz, Jan 11, 2014 #2. Unity 2020.1 has been released Unite Now Instantiating projectile to fire at mouse in 2D Discussion in ' Getting Started ' started by RoguePointer , Apr 13, 2016 . Templates.

Elevate your workflow with the 2D Pixel Fire Hero asset from Kin Ng. Find this & more VFX options on the Unity Asset Store.

Terrain.

The Overflow Blog Joined: Jan 6, 2014 Posts: 79. it's 3d fps i'll upload the file tmr it's midnight here in hk thanks XxSaiFxX, Jan 11, 2014 #3. 2d; csharp; Sylax99. VFX.

Checkout these top picks for all experience levels. Animations. Stack Overflow for Teams is a private, secure spot for you and I hope i explained it so you can understand what i mean. Stack Overflow works best with JavaScript enabled Today in when I was creating more of my 2D Unity Game, I focused on making the spaceship fire Bullets.

XxSaiFxX. A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate XxSaiFxX . Im currently working on a platformer 2d game.

Visual Scripting. By using our site, you acknowledge that you have read and understand our

So far made like 2 levels and im currently working on a boss level.

So I am creating a tower defense game in 2D, though generally trying to go for a 2.5D look and feel to a degree.

2D Unity Game: Bullets and Fire Rate! 2D.

Free 30 Day Trial

Where developers & technologists share private knowledge with coworkersProgramming & related technical career opportunitiesif you want to fire bullets instead of raycasting, you have to add a bullet classAlright,thanks ill try everything i can cause im thinking of making this game my first play store publish.So like for example: if(Input.GetMouseButtonDown) { (Your script) } and it should work?I Just edited the answer, since it didnt explain it that much, sorryAlright,thank you,but what does GUNTRANSFORM and GUNTRANSFORM.rotation mean?This would be the transform of your gun, or the point from which the bullet will move in the Unity community.Since the direction & everything is being set on the other script when you instantiating it you only need to have the awake function setting the time before it is destroyed & then either the transform.translate in update or the initial force in start. your coworkers to find and share information. Audio. Discussion in 'Scripting' started by Sylax99, Jan 4, 2018. Animation . To start off with I added the new asset (the Bullet) into my scene.

The gun is attached to the player,its always pointing in the direction of the mouse,and once the raycast detects its colliding with the boss layer,it draws a red line (on top of the already drawn blue line). By clicking “Post Your Answer”, you agree to our To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

So far made like 2 levels and I'm currently working on a boss level. GUI.

Tools.

Unity is the ultimate game development platform. AI. Add depth to your project with 2D Fire effects asset from Beatheart Creative Studio. 3D. Featured on Meta Joined: Dec 6, 2017 Posts: 2. Textures & Materials.

Joined: Jan 6, 2014 Posts: 79. softwizz said: ↑ Dont know, show us what you have already tried then we might be able to help.

site design / logo © 2020 Stack Exchange Inc; user contributions licensed under 2D - Mortar fire projectile arc & moving target. Services. Assets. Here's the code.Thanks for contributing an answer to Stack Overflow! Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers.