Getting Weld.C1 to result same CFrame as Motor6D.Transform

I have a weld and a motor6D with same C0 value, and the C1 is set to neutral CFrame on both of them, When I change Transform property of the Motor6D I get a different CFrame from which the one that I get when I change the C1 property of the Weld, how would I make it so Weld.C1 will result in the same part CFrame as the Motor6D.Transform, my current method is Weld.C1 = Transform:inverse() but it only affects position and not rotation (Rotation is different from the rotation in the AnimationEditor)