2
$\begingroup$

I would like to animate the building of a House, similar to The Sims gameplay if you are familiar with that. That means I need to animate the extrusion of the wall(s). Is there a way to accomplish that in blender?

My plan was to use a plane in combination with a solidify modifier, and animate the extrusions along a grid, but as far as I know you can't keyframe extrusions, or add new vertices during an animation.

https://www.youtube.com/watch?v=2OYr-uAzZb4&t=193s <---- some reference. The first minute is the only important content.

Thanks in advance

$\endgroup$
2

3 Answers 3

7
$\begingroup$

Shape keys can be used to animate the vertices of a mesh. You will need a shape key for each step of the animation, so I'm going to use 2 shape keys to animate an L shaped room. A square room would only need 1 shape key. I'm using a solidify modifier here to reduce vertices needed to animate.

In Object Mode, under Object Data properties > Shape Keys, add the number of shape keys needed, as I previously mentioned, I'll be adding 2 to animate this in 2 steps. Make sure each shape key is Relative To the previous one to make animating simpler.

enter image description here

Select the first shape key and go into Edit Mode. Move your vertices to the first step of animation. Go back into Object Mode, select the second shape key, then go back into Edit Mode to make the next step of animation.

enter image description here

Now you can animate the shape keys to adjust the extrusion of the walls.

enter image description here


enter image description here

$\endgroup$
1
  • $\begingroup$ It's the same technique I described earlier; but you did a much better job of answering the question, so I upvoted your answer. Nice example and deomstration. $\endgroup$ Commented Jan 12, 2022 at 20:44
2
$\begingroup$

One solution could be to use a Boolean modifier.

Add a large enough cube to your scene to envelope the walls and add a Boolean modifier to the walls, then set it to subtract the cube (I believe it's Difference but can't check right this second.)

Then, animate your cube moving up slowly.

This may create graphical glitches as your topology will be interrupted, but it could be a good starting block. If your walls are made of simple geometry, this may not even be an issue. Hope that helps!

$\endgroup$
2
$\begingroup$

I use shapekeys for this.

Create your object and do the extrusions so that you have all of the vertices. Shapekeys don't work if you add vertices.

In Object mode add two shapekeys. The first one will be your fully extruded wall. Select the second one and enter edit mode,.

Now move all of the extruded vertices so that they are exactly aligned to the vertices they were extruded from. This will give the appearance that you haven't done the extrusion.

You can animate the second shapekey's Value setting. By starting at 1 and going to 0, you effective animate the extrusion.

$\endgroup$

You must log in to answer this question.

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