- Home /
How do I make a gun project a particle?
I am trying to make a gun, but I dont want an actual bullet to come out like some tutorials say. I did that, and I dont like it. it barely works for me, and it doesn't look good. Instead, I would like to simply project a particle directly in front of the main camera (where my crosshair is). Ive been looking forever, and I dont want to use the machinegun.js found in the fps tutorial) How would I go about doing this? (javascript please)
Thanks in advance :)
Answer by Justin Warner · Dec 05, 2010 at 01:58 AM
Make a particle system as usual. Tweek the settings, IE: Make sure it's on one shot, and other things. Make sure it has a velocity so that it actually moves.
Then make it a prefab.
Then use the prefab as a gameobject...
It works =).
^^ I used a similar method for a flamethrowing using particles. It works.
Your answer
Follow this Question
Related Questions
FPS PISTOL 1 Answer
How do I make a gun? 1 Answer
how to make bullets apply damage 1 Answer
moving gun in first person shooter while walking 8 Answers
Using raycast gun to take down life of enemy when shot 1 Answer