Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

Add attractors/reppels to your partciles system

$
0
0

Hi guyz !

 

    I have to clean up a bit and optimize the code, but here is what i get playing with the particles system updateFunction.

    Maybe someone was looking for something similar, so i decided to post it.

 

   Any feedbacks/comments are welcome :)

 

   http://www.babylonjs-playground.com/#JVH6E#6

 

  attractor_reppel.png


Viewing all articles
Browse latest Browse all 388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>