I want to make a glass jar with particle effects that look like fire flys. So far I have all the objects, I just do not know how to make the particle system act as if it were in a jar having the particles bouncing with in the jar.
You can make the jar like a real container, with actual walls instead of just being a translucent thick object. Then, as a meshcollider add the same mesh that is used for the jar model.
The particles can then be set to collider with the glass’ walls’ layer, and you can also make them bounce a bit.
If you want to keep the object geometry simple, you can instead use just the detailed mesh collider “around” your solid jar model.