Creating a new module
So far, we have been using inbuilt modules to create our particle effects. The real power of Niagara is unleashed when you start developing custom modules. Custom modules give you unlimited control over all aspects of your particle system. They allow you to design custom behavior for your particle system. Developing these modules requires some basic knowledge of mathematics and vectors. We covered some of the basics at the beginning of the book.
We will be creating a particle system with a custom module that detects the presence of the player and changes the size and color of particles around the player. As the player walks around the particle system, the change in color and size will follow the player. It is not possible to create this behavior by using just the inbuilt modules. To achieve this behavior, we will need to write a script in our custom module.
Figure 7.1: The effect we will have achieved by the end of this chapter
While...