Linked Questions

7 votes
2 answers
6k views

How to get posebone global location [duplicate]

I use the below code to retrieve location of pose.bone, but it always give 0 (or -0). It seems the pose.bone location is the relative position of its parent so it ...
1 vote
1 answer
1k views

How can I get the global coordinates of joints or bones of a skeleton during animation? [duplicate]

I want to get the coordinates of joints of a skeleton. The following is the main code I used. ...
0 votes
0 answers
128 views

How to set pose bone position in global coordinates with python? [duplicate]

I have the following armature, and I want to write a code sets the position each bone pose to a new pose. In the image below I've added cubes to indicate the desired positions for the armature. ...
1 vote
2 answers
544 views

how to get driver value

how can I get the value of this value as in printable form.
0 votes
1 answer
6k views

How to move a bone in pose mode using python?

Knowing the names of the bone and the armature, I would like to animate the bone by setting the location and/or rotation of the bone starting from say frame 24 to 48. I'm an absolute beginner and I ...
1 vote
0 answers
2k views

How can i get bone global axis rotate [duplicate]

Below code is just get bone euler_Angles. ...
1 vote
0 answers
822 views

How to get posebone global rotate [duplicate]

A bone was rotated 90 degrees on the Y axis. I simply want to get (0, 90, 0), but in Blender it is represented by Euler angles (86.4, 44.9, 66.3). How do I get rotation on the global axis In Python ...
0 votes
0 answers
819 views

How to convert pose bone's global position to bone's location or bone's matrix?

When I try to set pose bone's head in keyframe, I knew that the bone's head is just read only, so I have to convert the bone's head to bone's location or matrix, after searching a lot of information,I ...
1 vote
0 answers
186 views

ray_cast not correctly intersecting with mesh of animated armature

I have a .fbx file consisting of a skeleton and a rig, which I animate in blender. I want to now cast a ray with ray_cast from the current position of a joint to ...
0 votes
1 answer
793 views

How to map/project bone coordinates to camera coordinates sytem/view?

I need the bone-head coordinates to be mapped on to the camera view. Actual scenario is to obtain the 3D coordinates of bone/joint. This is how I do it now. ...
0 votes
1 answer
2k views

Bone angle in python

I have an armature found in my .blend file here and I want to know the angles of the joints of my armature in degrees? I want to know how I can get the angle in degrees through python? As shown below ...
2 votes
2 answers
979 views

Convert animated bones into empties

I just created a model (using for a game) that uses several unconnected bones within the same armature to animate the model. It wasn't until I spent several hours modeling, that I realized the ...
1 vote
0 answers
183 views

How to get a pose bones rotation (custom exporter)

Well after weeks of searching online and nothing found I decided to ask online. I want to get the x, y and z rotation of a pose bone or even just a bone. I can't seem to get it working I have a rough ...
1 vote
0 answers
696 views

Get bone position without parent's rotation

I'm trying to get the absolute position of a pose bone. To do that, I'm just doing poseBone.matrix.translation. That works fine except for a case. If you rotate the ...
3 votes
1 answer
3k views

Global Pose/Rotation of a bone

Is it possible to determine the pose/rotation of a bone depending on the parent bones (with Python), in the best case in euler angles. For example, I have a model of a human and the arm is rotated ...