2
$\begingroup$

The situation is i have a few gun models that i will use in a scene where there are a lot of them and they all need to be able to fire bullets easily without me animating each bullet as these are automatic weapons. So i have a gun and i made a simple bullet that i want to use as a particle system for automatic gunfire.

So i have this bullet model right inside the bore of the gun and i parented the bullet mesh to the gun. I then added a particle system to the bullet that used the bullet model as the particle in the render tab. A couple problems arose such as the particles not appearing, they have far too much drop due to gravity especially in the case of a rocket launcher that needs to go slowly but not drop. and i also don't understand how to turn them on and off such as in a burst fire situation so it fires then stops then starts firing again.

$\endgroup$
1
  • $\begingroup$ You can reduce gravity influence for particles, iirc... and yoy could animate the particle emission on/off, I guess... $\endgroup$
    – m.ardito
    Commented Jul 30, 2017 at 7:59

1 Answer 1

2
$\begingroup$

Here is a very simple test that shows how you could defy gravity and animate particles to "gunfire" bullets:

enter image description here

this setup could work like this:

enter image description here

here is a test blend file:

$\endgroup$
4
  • $\begingroup$ thank you very much i had no idea what Gra was $\endgroup$ Commented Jul 30, 2017 at 21:04
  • $\begingroup$ oh, That is just the slider label that is shortened by lack of panel width... $\endgroup$
    – m.ardito
    Commented Jul 30, 2017 at 21:46
  • $\begingroup$ @m.ardito how would you pick the time of where it fires? How does that F-Curve work? $\endgroup$ Commented Sep 9, 2020 at 1:35
  • 1
    $\begingroup$ @AlexSandoval the F-curve is animating the emitter object velocity along the X axis only. it goes nearly instantly fro 0 to 20, for a while, then it goes back to 0. Since the gravity field weights effect is 0, the emitted particles do not fall down. I added a test file (created with 2.79 but still seems to work until 2.90). I hope this helps you to understand what's happening $\endgroup$
    – m.ardito
    Commented Sep 12, 2020 at 19:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .