Hey there everyone,This is my take on the ejection of shells from a rifle.It's pretty easy to apply this to any other gun: shotgun, pistol. you name itAll you've got to do is change the first keyframe on the "Shell_Mover" object and you'll get cycled shell ejection.
Also, you've got to change the amount of particle emission, until it fits the cycle.And please ignore the first particle, because it clips into the side. The following particles are the ones you should use.It uses modifiers inside the F-Curve editor.
That's about it, I think.
I hope this helps!Cheers!UPDATE: Cleaned up material setups.
@mofx Thank you for the heads-up. :) I updated the files there and cleaned up the material
oh cool! You're welcome! I'm glad I could help :) I'd like it very much if I could see the result :)
You might want to compare your settings with the settings in this download link.
https://s3.amazonaws.com/ezs3ac34a26aa3f5ce6650303da779cb7c9b/M4_packed.blend
Greetings
PS: The M4 in the link is from Andrew Price
When you open the file it's in BI but looks like the shell materials are setup for Cycles, just an FYI for others.