I want the particle system to not go through walls. When it hits a wall it should stop right there and not go through the wall.
If your particle system is moving by physics then you could add a collider and turn the velocity to 0 in oncollisionenter. You could also parent the collider to the wall as the wall doesn’t move. There are definitely many other ways to do so out there. Hope this helps.