I am very new to blender and python . i want to make python script which can animate the vertex point of any object (let’s example bpy.data.obajects[‘Cube’])
import bpy
obj = bpy.data.objects["Cube"]
obj.shape_key_add(name="Basis", from_mix=False)
block = obj.shape_key_add(name="1", from_mix=False)
block.value = 0.0
block.data[0].co = (0,0,0)
block.keyframe_insert(data_path='mute', frame= 0,index=-1)
block.value = 1.0
block.data[0].co = (1,1,1)
block.keyframe_insert(data_path='mute', frame= 50,index=-1)
when i play animation , it instantly change to next keyframe but what I need is smooth transition between two frames