Hello! I made a rig with an idle animation, and I wanted to override one bone's rotation via code without disrupting the rest of the animation. I ended up creating two BoneAttachments, one to get the current rotation, and one with "Override pose" enabled to set the new rotation.
This works but it doesn't seem like the best solution. 1) It means adding new BoneAttachments every time I want to do this, 2) I read - I think in some Github issue - that the "Override pose" feature isn't really intended to be used this way.
So I'm wondering, what are other ways to achieve this? I saw the functions get_bone_global_pose_no_override and set_bone_global_pose_override, but I couldn't quite figure out how to use them and they both have Deprecation warnings.