I'm trying to fold a cube with an animation. I've tried inverse kinetics with no luck. Here are some images that explain what I'm trying to do. I'm trying to make this so that

  • when the upper bone is pushed down, the box is folded to the ground.
  • when the upper bone is pulled up, it unfolds the box.

enter image description here enter image description here enter image description here enter image description here

  • $\begingroup$ "when pushed bottom or top the box is folded to the ground or if up makes the box." could you further explain that? $\endgroup$
    – Scalia
    May 28, 2015 at 19:40
  • $\begingroup$ The bone in the top of the box, is the main bone. When i push the bone down, its suposed to make the other bones "fold" in order to be like the first example in the second image. If u pull the bone up in the z axis, its suposed to make a box $\endgroup$
    – Warianos
    May 28, 2015 at 19:45
  • $\begingroup$ ah, thankyou. a bit hard to interpret there... :-D $\endgroup$
    – Scalia
    May 28, 2015 at 19:46
  • $\begingroup$ No problema, u know how to fix that:s? $\endgroup$
    – Warianos
    May 28, 2015 at 19:53
  • $\begingroup$ I think you'll have to use drivers on the box's bones, to drive them according to the main (top) bone's local position. $\endgroup$
    – Polosson
    May 28, 2015 at 19:57

2 Answers 2


one possible way is to use :

  • use the Transformation constraint to convert translation to rotation from control bone to lower bones
  • use the copy rotation constraint to make the upper bone rotate in reverse to the lower bone

enter image description here

  • The Transformation constraint to the lower bone with this settings :

enter image description here

  • the Copy rotation constraint on the upper bone :

enter image description here

  • there's only one plane ( with middle edge) and have an array modifier controlled by an empty ( see the .blend file )

  • $\begingroup$ Could u make some explanations how to reach that point? im have almost zero experience in bone managment $\endgroup$
    – Warianos
    May 28, 2015 at 20:06
  • $\begingroup$ Im having some problems reproducing the same animation... $\endgroup$
    – Warianos
    May 28, 2015 at 21:04
  • $\begingroup$ @Chebhou, care to elaborate? you have the right answer, but it's unclear to newbies. $\endgroup$
    – Scalia
    May 28, 2015 at 21:10
  • $\begingroup$ Sorry i was in a hurry , I'll add details now $\endgroup$
    – Chebhou
    May 28, 2015 at 21:19
  • $\begingroup$ @Warianos added the example file you can download $\endgroup$
    – Chebhou
    May 28, 2015 at 21:32

The way Chebhou showed is rather simple: for each of the 8 bones conected to the box, ad a transform-constraint(constraint-tab in the properties-panel) use location of the middlebone as input and the rotation on x or y as output

or try this: parent 4 bones to the top one, each placed at the top of a wall. for each wall: place the mid a bit outside of the box and add an ik-constraint to the upper bone; with chainlength=2 and tail=True, the targetbone being the bone placed on top of each wall.

the green one on the top is what you move, the big ones are to deform the walls, the small gray ones are the targets. they are children of the green one on the top. the green one has a limit-location-constraint(seen on the right), the yellow ones each have an ik-konstraint to the little gray ones, with a chainlength of 2 IK-rig

  • $\begingroup$ Im trying that but when i keep the offset of the 4upper bones to the top one. The bones get disconnected from the bottom ones. $\endgroup$
    – Warianos
    May 28, 2015 at 20:30
  • $\begingroup$ Try to see the image i psoted there now $\endgroup$
    – Warianos
    May 28, 2015 at 20:32
  • $\begingroup$ Since i dont understand how to work with constraints its really dificult, im trying but im not getting what i want $\endgroup$
    – Warianos
    May 28, 2015 at 21:05
  • $\begingroup$ added a picture with my setup $\endgroup$
    – Teck-freak
    May 31, 2015 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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