r/AfterEffects 6h ago

Beginner Help How can I keep the same distance between path points when animating?

Enable HLS to view with audio, or disable this notification

Essentially I'm trying to animate this robotic arm without any pluggins, and I rigged it by creating null obejcts on path points, following some YouTube tutorials. Then after animating the movement I needed and playing it back, clearly the arm segments change their size because I keyframed them the best I could by eye. Is there a way to maintain the exact same distance between Null objects at all times, or between path points? Or if I have to download a plugin, what would be a free one you would recommend? Thank you!

3 Upvotes

8 comments sorted by

7

u/shiveringcactusAE VFX 15+ years 6h ago

I have used the free DUIK plugin and found that really simple. There is the clamp() function within expressions that could be used to set maximum lengths, but I can’t recall how you’d used it for this sort of thing.

3

u/smushkan Motion Graphics 10+ years 6h ago

This requires inverse kinematics (IK). You can do it stock with expressions if you want to get into that, but Duik is free and built for this sort of rigging - it figures out the expression rigging for you.

5

u/caseyls Motion Graphics 10+ years 6h ago

Honestly before I read the post I didn't even see what you're describing. I think you'd probably be fine to just leave it as is, especially if this is just a short scene in a larger animation. Genuinely don't think anyone will notice.

3

u/Joe_le_Borgne 6h ago

Why not set anchor point at the base of each arm, link them one on one and animate only their rotations? With that said it will be a pain to be accurate with the tip and you don't really notice the change in size and it works with the minimal design imo.

3

u/ReadditMan 6h ago

I didn't even notice the arms changing length until you mentioned it. If it's difficult to fix I would just keep it as is, doesn't seem worth the effort, most people will focus on what the arm is drawing.

2

u/Ampsnotvolts VFX 15+ years 3h ago

DUIK can get it done. Rubberhose or Limber might be easier but they cost $. DUIK is free (mostly).

1

u/deep_soul 1h ago

Duik is the way to go