Hi I need to get the knee position relative to the root in the attached image

Right now I use

local_mat = ob.convert_space(pose_bone=pbone, matrix=pbone.matrix, from_space='POSE', to_space='LOCAL') and local_mat.to_translation() to get the position, but it's all 0. Is there a way to do this in Blender?


1 Answer 1




gets bone position in object space (relative to object's root)

  • $\begingroup$ Is it possible to get the relative pose with the second bone's head instead of root? $\endgroup$
    – ydji
    Sep 21 at 8:02
  • $\begingroup$ Aha, just subtract that vector should be good $\endgroup$
    – ydji
    Sep 21 at 8:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .