I want to scale the bone that is attached to the segment, but somehow I can't keep the position of the bone fixed, like in the following figures
You see the position of the bone (pink object) is changed.
Here's the code:
from mathutils import Vector arm = bpy.data.objects['color'] for bone in arm.pose.bones: bone.scale = Vector((2,2,2))
How can I keep the position fixed?