Using frames to define angles for animation

I saw on youtube a video, that in blender you can use the current frame number for animation.

For example where the Z angle, the author typed in something like “frame*3.14/180” and depending on the frame the angle changed. Unfortunately I can’t remember what exactly he typed in to make it work.

He probably added a driver and used an expression like:


I don’t think you can do that without a driver.

Thats the thing, I am 100% sure that he mentioned, how incredible Blender is that he can do it just using the correct word.

Note that the 3.14/180 part is just the conversion from radians to degrees.
Using 3.14 is probably not all that good because pi is not exactly 3.14.

It would be better to use:

(pi * bpy.context.scene.frame_current) / 180



It is a driver. It’s a shortcut for entering a driver.

1 Like

Thank you.


is exactly what I was looking for. And I learned that drivers is a new thing I have to research to get good in Blender. What a great site.