Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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.