2D Particles not colliding with LightOccluder2D

Godot Version

4.3

Question

I’ve been doing a little particle test that I want to have bounce off the wall (tileset with occluder set and its polygon properly done), but so far, nothing’s working. The occluder on the tilemap seems to be ignored. When I put a point light shadows are properly shown along with the light. So, I’m not sure if there is a problem or it’s me.

I looked all over and couldn’t find a tutorial on that subject. The docs mention that particles will only collide with Light Occluder 2D, but again, no proper documentation on how to implement this.

I’m looking for videos, docs or input from people who have succeeded in having those two things work together.

I’ll try to post code later because I can’t at this point.

TIA

1 Like

Nothing?

Hmm…

After some heavy duty searches, I found the “problem,” but this should be mentioned somewhere in the particles docs.

To have particles interact with TileSet Occluder, you have to Enable SDF Collision in the TileSet Rendering->Occlusion Layers options. It’s not obvious, so here’s where it is:

Hopefully that helps someone.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.