Stop particles from going through walls

hi there,

check out this answer,

you have to add collision (scene depth) and use cpu particles