2
$\begingroup$

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?

Here is a gif to help you understand the movement animation example

storyboard

$\endgroup$
12
  • 1
    $\begingroup$ Hello. How the cube (I presume) is supposed to be deformed? $\endgroup$
    – lemon
    Commented Apr 20, 2023 at 11:40
  • $\begingroup$ 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 $\endgroup$ Commented Apr 20, 2023 at 11:52
  • $\begingroup$ Have you tried with a Lattice or with a Mesh Deform modifier? $\endgroup$
    – moonboots
    Commented Apr 20, 2023 at 12:03
  • $\begingroup$ Can you sketch a few frames showing the desired shape of the sphere and cube as the latter moves through the former? $\endgroup$ Commented Apr 20, 2023 at 12:05
  • $\begingroup$ @moonboots no, I was trying to create this effect dynamically with physics or metaballs $\endgroup$ Commented Apr 20, 2023 at 12:40

1 Answer 1

2
$\begingroup$
  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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .