Is it posible to make particle2D falling in the ground instent falling inside of it

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By raouffndt

Is it posible to make particle2D falling in the floor instent falling inside of it

:bust_in_silhouette: Reply From: Inces

Of course, but You in Godot 3 You have to get to shader code and overrive particles transforms, so its .y component doesn’t drop below ground level. If your level has various elevations, You will also have to pass current .y position to shader as with uniform

from your comment I understand hard to do , is there any blog or video about that?

raouffndt | 2023-02-11 22:45

If You have basics about shader code, I could go more in-depth about this here ;). So let me know if You learned about fragment() and vertex() and uniforms :slight_smile:
You can also wait for Godot 4.0, which will have particle physics

Inces | 2023-02-12 06:54