0 votes

Hello,

my target is to create smoke over an area from a top view perspective in 2D. So i played around with particles.
It would be nice if I could have some borders where particles can't go trough or disappear.

Here is an example: The smoke should not be visible outside of the building.
enter image description here

Greetings

in Engine by (19 points)
edited by

1 Answer

0 votes
Best answer

You can set an emission mask (see the docs) for your particles.
Particle collision isn't supported yet.

by (700 points)
selected by

Aren't emission masks only for particle creation?

Yes, emission masks control where particles will be emitted. What you need is particle collision/wiping which isn't supported yet.

Thank you. I'll search another way then, maybe masking it with a second Tilemap would look ok.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories