4
$\begingroup$

I have a question for which I can't find an answer: I would like to move an object from one point to another along an axis, and I would like the movement to interpolate by increments (in my case the increment is 2). As an example, let's say that on frame 1, my object has Location X = 0, and on frame 10 it has Location X = 8. I would like it to interpolate its movement like this:

Frame 1 & 2: Location X constant at 0

Frame 3 & 4: Location X constant at 2

Frame 5 & 6: Location X constant at 4

Frame 7 & 8: Location X constant at 6

Frame 9 & 10: Location X constant at 8

That would create an interpolation curve that looks like stairs. Do you know any way to do this?

$\endgroup$
6
$\begingroup$

Select your keyframes in the Graph Editor and you can use Shift + Ctrl + M or use the menu Key -> Add F-Curve Modifier -> Stepped Interpolation.

enter image description here

The options for the modifier are in the N-panel.

enter image description here

enter image description here

$\endgroup$
2
  • $\begingroup$ Just tried it, it's exactly what I was looking for. Thanks a lot, I knew it was something that would exist but was unable to google the right words to find it. Have a nice day! $\endgroup$ – MattOnyx Mar 8 at 16:54
  • 2
    $\begingroup$ Want a free .gif? ... :D $\endgroup$ – Robin Betts Mar 8 at 16:55

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.