I couldn’t get that C++ function to work, it kept returning “none”.
I made a workaround by creating 2 variables in the physics_constraint_component blueprint named “bound object 1” and “bound object 2”
Then when I create this constraint, I set those 2 variables.
Then any time you want, you can get the value of those variables.