Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Right now it just looks more like fluid, and the objects are going trough each other a little bit like this:
If i understood the question you can use the Cast Modifier
Make 2 sphere
Select 1 sphere and add Cast Modifier and Target to other sphere
When you move the 1st sphere it goes inside the other.