All Questions
12
questions
0
votes
0
answers
28
views
Scale issue when opening glb export in gltf-viewer
When I import my glb export to gltf-viewer it gets enormous, scale issue, I need to use such animated character from Mixamo for an AR project.
Would really appreciate some help, Link for 3D animated ...
1
vote
0
answers
73
views
How to programmatically find a "Y" pose such that it is the inverse of another "X" pose in relation to the T-pose?
That is, if I "Apply" the armature modifier of the "Y" pose onto the mesh then if I now link that mesh to the armature of the "X" pose the mesh should look like the ...
1
vote
1
answer
679
views
How to move and resize a bone in Python such that the head and the tail are at a certain global position?
I want to move and resize a bone by setting the coordinates of the head of the bone and the tail of the bone explicitly.
For example, let's say that these are my coordinates of my bone head:
...
1
vote
0
answers
147
views
How to get euler/quaternion rotation from matrix?
I have 2 bones and I want to copy the rotation of one bone to another
using only rotation_quaternion or rotation_euler to assign ...
3
votes
3
answers
1k
views
How to get global rotation of a bone with respect to global planes of axis via python?
I'm simply trying to find the global rotation of a bone in pose mode using python
i.e. what angle a bone makes with the global axis?
The closest I've come is:
...
0
votes
1
answer
122
views
How to apply one pose after another via scripting?
I have 3 poses: Default , Location , Rotate & I need to execute them in that order, like ...
1
vote
1
answer
2k
views
bpy.types.Bone.matrix vs matrix_local
According to the doc:
matrix
3x3 bone matrix
matrix_local
4x4 bone matrix relative to armature
I guess matrix_local is the full transform matrix that describes ...
1
vote
0
answers
140
views
Bone matrices manipulating problem
So I'm trying to convert additive animations to a weird format that Source engine uses: instead of offsetting the bone relative to its local space, it uses whole armature's origin point for that. All ...
0
votes
2
answers
2k
views
Rotate bone using python
I'm struggling with a rather straight forward operation - rotating a bone. There are tons of examples but can't seem to get it working.
I need to rotate the bone in edit mode (if it's mode specific ...
2
votes
1
answer
1k
views
How do I set the bone length after setting a new bone matrix?
In version 2.77a; the docs show that the edit_bone.matrix is no longer read only, but a note warns "does not include bone length". Luckily, ...
2
votes
2
answers
3k
views
Set a bones matrix to a custom matrix
I have a script in which I compute a custom matrix for each bone of a skeleton. I know I have switch to edit mode but then I read that the property edit_bone.matrix ...
5
votes
2
answers
3k
views
How can a bone's tail be changed by a script?
I want to calculate a rotation matrix from two vectors, in order to check the steps are correct I have setup 3 armatures.
A reference bone (arm_org),
One that is directly rotated by applying a ...