Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | 1Snakel | |
Old Version | Published before Godot 3 was released. |
Hi! I’ve a problem setting the bone rotation.
i’m doing this:
skeleton = get_node("Spatial/Armature/Skeleton")
head = skeleton.find_bone("hips")
head_transform = skeleton.get_bone_rest(head)
head_transform.rotated(Vector3(1, 0, 0), deg2rad(cam_pitch))
skeleton.set_bone_pose( head, head_transform )
it doesn’t work at all.