In a designer's toolbox, one of the most effective tricks used to make things look stunning are particle systems. We can spawn a large number of particles which are small simple images or meshes, without much of a performance hit. Particle systems control these particles and their display and movement. They are very useful for elements such as liquid, smoke, clouds, magic, and in this instance, fire, as we bring life to our house's fireplace.
This recipe assumes that you have a project open with the Sample Assets included as well as a room created with
Geometry Brushes (BSP). I have provided a sample level (ModernHouseBase
), which will be used for this demonstration. It is included in the Example Code, which you can access from Packt's website. If you are not familiar with building levels using BSP, feel free to follow the instructions for the Building a Room recipe of Chapter 2, Level Design – Building Out Levels or Greyboxing.
Now that we have our level open, let's start off by placing a particle system into our level:
StarterContentParticles
folder.With the folder open, you'll see a preview of all of the particle systems that you can work with, with a white border around all of them.
P_Fire
system and then drag it into the level into the fireplace. Once here, release it to place the particle system into the world. -90, 70, -90
and Scale to .5
in all the axes.A quick way to scale all of the axes together at once is by going to the Details tab with the object selected and then, from the Transform component, clicking on the lock button to the right of the three parameters of the Scale property. Once we've locked the axes, we can then put in a .5
value in one of the parts and the other two will change as well. This will make the object always maintain its proper shape.
At this point, we now have an idea of just how easy it is to make our level look much nicer!
For more information on creating custom particle systems of your own refer to https://docs.unrealengine.com/latest/INT/Engine/Rendering/ParticleSystems/index.html.
3.143.4.181