# Object enters into another deforming it as it passes through

I have a cube and I have a sphere. I would like to do this: the sphere stays fixed at one point and a cube goes up from the bottom. As the cube goes up it engulfs the sphere and its surface deforms. The cube continues to rise making the sphere visible again and deforming as the sphere begins to leave the cube.

I have tried many ways to recreate this using physics. I have tried soft body, rigid body and collision, but nothing seems to work.

How could I solve the problem?

• Hello. How the cube (I presume) is supposed to be deformed? Commented Apr 20, 2023 at 11:40
• Yes, exactly. I'd like to create a water deforming effect or a metaball effect, but in this last case I wasn't able to create a metaball cube, I'm only able to make interact metaball spheres Commented Apr 20, 2023 at 11:52
• Have you tried with a Lattice or with a Mesh Deform modifier? Commented Apr 20, 2023 at 12:03
• Can you sketch a few frames showing the desired shape of the sphere and cube as the latter moves through the former? Commented Apr 20, 2023 at 12:05
• @moonboots no, I was trying to create this effect dynamically with physics or metaballs Commented Apr 20, 2023 at 12:40

1. New Project
2. H Hide the Default Cube
3. ⬆ Shift+A, B, U Add a Metacube.
4. ⬆ Shift+A, B, B Add a Metaball.
5. G, Z, 5, ↩ Enter Move the Metaball above the Metacube.
6. I've set the resolution to $$0.05$$:

1. ⬆ Shift+A, E, P Add an empty, you may want to adjust its size for convenience (don't scale it, you don't want the children to be scaled):

1. Select the Metacube, then ⬆ Shift-click the empty, so the empty is yellow (active), then ✲ Ctrl+P, O parent the Metacube to the empty.

2. ⎇ Alt+H Reveal the Default Cube, click on it, ⭾ Tab go to Edit Mode, if it's not selected, press A to select everything, then S to scale - make sure it covers the entire MetaCube.

3. ⭾ Tab Go back to Object Mode, with the Default Cube selected, ⬆ Shift-click the empty and again ✲ Ctrl+P, O parent the Default Cube to the empty.

4. You're pretty much done, animate the movement of the empty.

• Thank you, problem solved, thank you very very much! I am a newbie but it really seems like a smart solution, congratulations! Commented Apr 20, 2023 at 14:07