It is getting called, I made sure of it by printing the values of the location, The weird part is when I do it in blueprint exactly as it was in c++. It works!
Here is the blueprint I also tested it. What I found during runtime is the Linear position remains 0 when setting it in C++ which is very weird. I don’t want to make a messy workaround where I use a blueprint event.
If I’m not mistaken, The Linear Position Target in PhysicsConstraint, You must convert world to local. I’ve also had this issue and make sure to call WakeRigidBody() after modifiying the physics constraint values.
I got mine to work after deleting the temp file on the project and generating it back again.