Modify Angular Rotation Offset at Runtime

I have a workaround for it.
Create a scene component use it to change the rotation of the physics constraint reference frame not the actual physics constraint. Here Constraint Ref Frame is a scene component. “Frame” is used to reverse the z axis.
(NOTE: Use relative rotation of the scene component, i have done mistake in the image)