Answers for "blender change text during animation"

0

blender change text during animation

import bpy

scene = bpy.context.scene
obj = scene.objects['Text']

def recalculate_text(scene):
    obj.data.body = 'Current frame: ' + str(scene.frame_current)

bpy.app.handlers.frame_change_pre.append(recalculate_text)
Posted by: Guest on April-15-2020

Python Answers by Framework

Browse Popular Code Answers by Language