Hi I need to get the knee position relative to the root in the attached .
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?