Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | GreatCornDev |
So, the imported bones have wrong pivots and I can’t fix it (export to DAE). Trying to change bone rest/pose origins doesn’t do anything towards the rotation. Is there any way to set a bone pivot in Godot?
I use this code as a tool script to help me configure the bones:
var bonePose = Transform(Quat(value*D2R))
bonePose is a Transform that has the same origin as the bone (assigned later, before set_bone_pose), value is an exported Vector3 for easier tweaking in editor, D2R is a degrees to radians constant. Bone 1 is a child of bone 0 with an offset.
Illustrations below: