Creating objects that interact with each other combined with animation

I’m trying to create a couple objects you can pick up in VR, but when the objects get close enough to each other they trigger animation such as particles shooting off one object onto the other. But only when they are a certain distance from each other. I would like there to be some interaction with the objects as well, if you push the objects closer together they repeal. Any help with this would be amazing! Thanks!