1
$\begingroup$

I am working on a gun turret for a spaceship. The turret has three parts. It resembles a Gatling gun type. I have animated the barrels to start turning very rapidly to simulate rapid anti-aircraft fire. The first keyframe is set to o degrees in the rotation, I then move the keyframes 3 seconds further and then enter 5000 in the rotation. The animation starts exactly as I want but about half way, the rotation slows down and then accelerates again. It does the same thing when rendered. What causes this slowdown? Could it be the processing power of my laptop or is there a better method to use? Thank you.

$\endgroup$
0
$\begingroup$

This is caused by tweening. tweening defines how a object goes from one keyframe to the next. you can adjust tweening in the graph editor. in the graph editor, when you have selected the object being animated, you should see three lines. a red one, a blue one, and a green one. In this particular case, the red one is for x rotation, the green one is for y rotation, and the blue one is for z rotation. by default the tweening is set to bezier, which is an ease in, ease out, tween. meaning the gun will rotate slowly, then get faster, and then get slower again. this is useful for human movement. you want linear movement in this case, because it is a rotating gun.

Heres the important part

in the graph editor, press a, to select all the keyframes, press t and in the dropdown, select linear. this should solve your problem.

the answer was a bit lengthy, becaus I was trying to explain tweening, but If you want more information on it I suggest you look it up, or by a book on animation.

I hope this helps.

$\endgroup$
  • $\begingroup$ Beautiful, it works perfectly. Thanks very much for your quick reply. BTW I have the new Blender for Dummies in my wishlist and will be one of the first ones to buy it when it is released. Am completely hooked on Blender. Cheers!! $\endgroup$ – Danny Bouchard Aug 29 '19 at 1:50
  • $\begingroup$ yeah, blender rocks! I'm glad I could help. BTW, if you haven't seen the blender open movies yet, look them up on youtube, they're pretty cool. $\endgroup$ – Millard Aug 29 '19 at 1:53
  • $\begingroup$ Cool I will!!! Thanks $\endgroup$ – Danny Bouchard Aug 29 '19 at 1:55
  • $\begingroup$ Your welcome :-) $\endgroup$ – Millard Aug 29 '19 at 2:02
1
$\begingroup$

I think the accepted answer works but could be better. What you are seeing is an optical illusion. The barrels in the middle of the animation are lining up with the previous frame, so they appear to not be moving.

Enabling motion blur should let you see the motion throughout the animation, but still allow you to use smooth interpolation (so the spin up and slow down would be smooth).

$\endgroup$
  • $\begingroup$ OK thanks, I just added the motion blur and initiated a render. $\endgroup$ – Danny Bouchard Aug 29 '19 at 2:08

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.