hi and thanks,
- you need a nvidia card!
- go to https://github.com/NvPhysX/UnrealEngine/tree/Turbulence-4.7.6 and download the turbulence sample projects
- go to https://github.com/GalaxyMan2015/UnrealEngine/tree/4.9.2_NVIDIA_Techs and download the source and compile the editor (thx GalaxyMan2015)
- create a new Project and import the content from the turbulence sample project to get u started. play around a bit with the samples to get a overview.
- create a new particle system in cascade. make sure ur emitter is using gpu particles. right click your new emitter and create a field sampler module. for example use the grid FS. in the grid FS module select one of the field samplers from the turbulence sample project.
- configurate the emitter and modules to your needs (spawnrate, color, opacity…)
- to control the actual sim you need to get into the field sampler which u are using (in the content browser). there you can control things like velocity influence, grid detail, noise … after changing something you need to save the sampler and restart the sim in cascade (or decativate and reactivate the field sampler module) to see some changes.
- create a candle model in your 3d app. import into ue4.
- create a socket on the candle static mesh where the flame should be.
- create a new blueprint. put your particles emitter and mesh into the bp and connect the emitter to the candle mesh socket.
- done. make sure that geometry that should collide with particles have the option “block turbulence” ticked on. have fun
if you want to emit light to your level you have to make another emitter with some fake cpu particles. gpu particles dont work with the light modul :mad:
btw maybe someone could point me in the right direction. as you can see in the above video when the candle moves (the particle emitter) your getting this strange looking smeary line effect. for me it looks like the emitter is updating infrequently. ive increased the time delation of the particle system which gets rid of the smearing effect but the whole particle simulation goes crazy. thx