offset on Configurable Joint target rotation

Hello,
I want to have an offset (-90 on z) on the rotation. How can I do that?
This is my script:

public class CopyMotion : MonoBehaviour
{
    public Transform targetLimb;
    public bool mirror;
    ConfigurableJoint cj;

    // Start is called before the first frame update
    void Start()
    {
        cj = GetComponent<ConfigurableJoint>();
    }

    // Update is called once per frame
    void Update()
    {
        if (!mirror)
        {
            cj.targetRotation = targetLimb.rotation;
        }
        else
        {
            cj.targetRotation = Quaternion.Inverse(targetLimb.rotation);
        }
    }
}

Thanks for help!

i don’t know Quaternions well so you’d have to figure the format out yourself or wait for a more educated answer…but i think your should do

cj.targetRotation = targetLimb.rotation - new Quaternion.eulerAngles(0f ,0f, 90f);

i think it should do…but if it doesn’t try

cj.targetRotation = targetLimb.rotation - new Quaternion(0f, 0f, 0f, 0.5f);

I am not well acquainted with quaternions so i do not know the accuracy of these…i hope this works tho…tell me if it does