How to update LinearLimit at a UPhysicsConstraintComponent in C++?

I’ve been trying to set a physics constraint component to be Limited and SOFT at runtime. Couldn’t find a working example in code… I think I found part of the pieces necessary to do it but I can’t see effect yet… this is what I’m trying to run:

void SetLinearLimitsToSoft(UPhysicsConstraintComponent* Constraint, bool bIsSoft, float Stiffness, float Damping)
Constraint->ConstraintInstance.ProfileInstance.LinearLimit.bSoftConstraint = bIsSoft;
Constraint->ConstraintInstance.ProfileInstance.LinearLimit.Stiffness = Stiffness;
Constraint->ConstraintInstance.ProfileInstance.LinearLimit.Damping = Damping;



Does anyone have a tip?