0
$\begingroup$

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

Before scaling:

enter image description here

After scaling:

enter image description here

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?

$\endgroup$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.