Creating our initial emitter on projectile hit

So some of you may remember way back at the beginning of the book that we added the starter content pack. Well, now we can finally put a bit more of that to use. Scrolling down near the bottom of the folders is StarterContent/Particles (or just do a wildcard search for P_Sparks in the search box). This is not exactly what we want, but it's close, which is always saves time. Notice that it is already using some spark and smoke GPU Sprite emitters (the other being a flash/burst). It seems pretty close, so why not start here? Similarly for C++ classes and all other aspects of game development, if you can begin with something that is at least partially already doing the job you want, always put that ...

Get Mastering Game Development with Unreal Engine 4 - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.