2
$\begingroup$

I'm new at the Blender animation thing and having a problem where my objects will move without me telling them to.

I start at 1, adding all my objects to the first keyframe as a starting point.

Keyframe 1

Then I rotate a few objects, and make a second keyframe at 25. I use the timeline editor to play the animation, and everything works great.

Keyfame 25

So I move on, rotating a few other objects, and making a third keyframe at 50. This is where everything breaks downs. The keyframe at 50 looks great, but when I go back to 25, everything has moved.

Keyframe 50

And this is rewound back to 25...

Rewound Keyframe 25

All the objects are suddenly way spaced out from each other. Why would creating a third keyframe ruin the first 2?

$\endgroup$

1 Answer 1

1
$\begingroup$

I am guessing, but here's one problem. Have you parented the objects properly so there are object origins or, ideally, empties where the rotations take place? Because I guess you haven't just rotated stuff, you have also moved it even though you didn't mean to.

Blender doesn't remember around what you have rotated objects. Sometimes it rotates around the cursor, sometimes around a common selection center. For key frames, that is irrelevant. Key frames only care about the object origin mostly. When you rotate more than one object, it's almost always also movement.

If you don't use armatures, put empties where your box is supposed to fold and create a hierarchy of parents and children. That way you can rotate the inner part around the empty and all other parts will follow, even if they're not animated.

An example:

enter image description here

The sides of this unfolded box are 6 separate objects, similar to your setup. I just used a lot of empties as well.

Boss is the main empty. If I move that, all others follow. e1 - e4 are all parented to boss and e5 is parented to e4. If e4 is rotated, e5 behaves as if glued to it.

That's also the reason why my top flap does a 180° turn. I made e4 turn 90° and e5 turn 90° as well and it adds up.

The empties may be invisible, but they're handy pivot points and all the faces are parented to the empties, so they move with them. That's the result when animated:

enter image description here

You could achieve the same with bones. Then you could model your box out of a single mesh and deform it by posing the bones. But empties are fine, too.

$\endgroup$

You must log in to answer this question.

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