# Fog - Particles repulsion

**URL:** <https://forums.unrealengine.com/t/fog-particles-repulsion/329941>\
**Category:** Rendering\
**Tags:** radial-force, Fog, unreal-engine, question\
**Created:** [August 26, 2015, 5:53am UTC](https://forums.unrealengine.com/t/fog-particles-repulsion/329941 "2015-08-26T05:53:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cerambyx\_Cerdo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cerambyx\_Cerdo](https://forums.unrealengine.com/u/Cerambyx_Cerdo)\
**Post date:** [August 26, 2015, 5:53am UTC](https://forums.unrealengine.com/t/fog-particles-repulsion/329941/1 "2015-08-26T05:53:16Z")

</div>

Hello everyone !

I have a game project where my main character walks amongts a very deep fog.  
The fog must be radially pushed around the character position.

I have tried a system based on a material with radial mask dynamically updated :  
[Video example][1]  
But as you can see the result is very ugly.

I have remade the fog with particles, and it’s way, way better :

[http://binarydusk.com/images/fog\_example.jpg](http://binarydusk.com/images/fog_example.jpg)

How can I apply a radial repulsion on particles ?  
I didn’t found a way to apply parameters to a dynamic material instance provided to particles and I don’t find a way to create a negative attraction.

Do you have any solutions ?

Thanks !

---

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [March 16, 2016, 11:00am UTC](https://forums.unrealengine.com/t/fog-particles-repulsion/329941/2 "2016-03-16T11:00:59Z")

</div>

Have you found any solution? also the video on youtube is privat so we can’t watch it 😕
