About particles question

I wanted to make this particle effect, I first used the Cylinder Emitter and noise texture from the documentation. I wanted to change the emitter to look like Box. But I don’t understand the code.I think my goal is accomplished by modifying the circular emitter to emit particles from all four sides like a square. Can someone teach me :slight_smile:

particleSystem (5).zip (1.1 KB)


I think it might need to be changed to “articleSystem.createBoxEmitter” but I don’t know what data to put in () 。。。。

For the simplicity, you can:

  1. Make the Playground with your code with particles.
  2. Open the Inspector and choose Particle systems.
  3. Edit any properties as you like and see changes in real time.
  4. Save Particle system as json or snippet.
  5. Load and use snippet as written here - Particle Snippet Server | Babylon.js Documentation
2 Likes

“SCEEDM” I have exported him. In that zip file is the json file

Hello, I would like to ask how long will this ID be kept?

Forever :slight_smile:
Babylon approach to PG and all snippets is that all URL addresses are immutable and will live forever.

1 Like

I would also like to ask how to make the particles not disappear, they will always be there

You can use the lifetime property: Basic Particle Properties | Babylon.js Documentation (babylonjs.com)

1 Like

Hello @yi_jin just checking in, was your question answered?