How to set only the yaw in Transform (Modify) Bone node?

I’m trying to modify the hips bone as to make it fixed at one global yaw rotation but the “Transform (Modify) Bone” node only has the option to modify all 3 Roll, Pitch & Yaw:

Is there any way to only set Yaw and let Roll & Pitch rotate according to animation?

Hey @mrm_dev how are you?

What you need to do is to get the current rotation of your “Hips” using “Get Bone Transform”, then split the pin “Return Value” and split again the pin “Return Value Rotation” (you can split the pins by right clicking on them and choosing “Split Struct Pin”).
That way you will be able to get Roll, Pitch and Yaw individually, which will allow you to use a “Make Rotator” node to use the Roll and Pitch from your actual bone and combine them with your “Fixed Global Yaw” variable.

After all that, you pass the Return Value from your Make Rotator node to the “Transform (Modify) Bone” and that’s it!

Here is an example of how it should look:

As you can see there, you need to set the “Bone Name” in the “Get Bone Transform” node, and
set the Space to “Component Space” in that same node.

That should work for what you want! Let me know if you need more help!

Hi sorry for the late reply but this requires control rig as an input
what if my character does not have one? Is there no way to do this without a control rig?