Sha256: ae02660b6828634886a11a49e787732be341f9f9d8d54811e86f3634ecfc5b57

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

context.scene.frame_start = 0
context.scene.frame_end   = NUMBER_OF_FRAMES
bpy.ops.screen.frame_jump(end=False)

for frame in range(1, NUMBER_OF_FRAMES):
    bpy.context.scene.frame_set(frame)

    OCEAN.modifiers['Ocean'].time += 1
    model_object.rotation_euler.z += math.radians(10)

    for ob in context.scene.objects:
        ob.keyframe_insert(data_path="location", index=-1)

bpy.ops.screen.frame_jump(end=False)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glitch3d-0.2.2.2 lib/glitch3d/bpy/animation_recording.py