Take the 2-minute tour ×
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It's 100% free, no registration required.

My goal is to:

  • Flatten out a cube

  • Keep the cube's base on the same position of z-axis (i.e. flat on the ground plane)

  • Ideally, the volume of the cube should remain constant

Think of it like a block of clay slowly flowing out to the sides:

(High quality 2d sketch:)

enter image description here

So here is my scene: I have a "cube" (black object) and a lattice (orange object) that encapsulates the cube:

Then I:

  1. Selected the lattice with B

  2. CtrlP -> Lattice Deform

  3. Added Shape Keys under menu Data: Object Data

    enter image description here

  4. Then I tried to transform the cube with the lattice. Here is the result:

    enter image description here

The way the cube is deformed is perfect, EXCEPT the base of the cube does NOT stay on the ground plane -- it gets pushed down below it.

So, my question is: how can I deform the cube like this, yet keep the base on the ground plane?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You don't need a lattice you can achieve this by only using Shape Keys:

  • Create two Shape Keys
  • Move the top face down
  • Scale the bottom outside edges outward

enter image description here

share|improve this answer
    
Ah, so simple. Thank you very much. Looks like this should work nice. –  Zimzalabim Apr 23 at 21:55
1  
Though I'm still curious of how to limit the deformation using a lattice. –  cegaton Apr 23 at 22:03
1  
@cegaton: Yes. I played around with object constraints for both cube and lattice with location, floor etc. but it kept going below ground when transforming. As I'm at starting stages I accepted this as answer (as it works fine for my current task). Though, if anyone know how (or if it is possible) by lattice that would be interesting as well. –  Zimzalabim Apr 24 at 0:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.