How to make Particles2D collide with CollisionShape2D and TileMap?

Godot Version

4.2.1

Question

How to make Particles2D collide with CollisionShape2D and TileMap?

oh yeah also.export you project so it doesn’t get deleted when you update godot. the recent version is godot 4.3 and has a lot of features

That doesn’t work, CollisionShape nodes only work being a child of CollisionObject node, the proper node emit a warning about this:


@khanmahsan2003 If you want your particles have collision you need to set the particles material collision to rigid or hide on contact:

Also, GPUParticles2D only collides against LightOcluder2D so you need to set the light occlusion on your tilemap.

1 Like

sorry for the desinformation.

Thanks, also it isn’t possible to collide CPUParticles2d?

No, CPUParticles2D is very limited compared to GPUParticles2D and lack lot of features, the only advantage is be more lightweight to run in older devices.

1 Like