Set Constraint Reference Orientation node tweak

I was also looking for this, because it’s quite ellusive.

I found this in the source code in ConstraintInstance.cpp:


void FConstraintInstance::SetRefFrame(EConstraintFrame::Type Frame, const FTransform& RefFrame)
{
if(Frame == EConstraintFrame::Frame1)
{
Pos1 = RefFrame.GetTranslation();
PriAxis1 = RefFrame.GetUnitAxis( EAxis::X );
SecAxis1 = RefFrame.GetUnitAxis( EAxis::Y );
} 
.......

So they are the X and Y axis of the transform.
So, instead of bothering with the SetConstraintReferenceOrientation, it’s just simpler to use SetConstraintReferenceFrame by inputting a transform and just copy the position data from the current one.