I’ve been trying to find all the constraints in the Physics Asset rope that I have and them into an array. And I’m trying to do that by using the built in functions for physics assets such as “GetConstraintByBoneNames” and “GetConstraint”.
However, “GetConstraintByBoneNames” and “GetConstraint” doesn’t return a “UPhysicsConstraintComponent” but instead returns a “FConstraintInstanceAccessor” and I can’t for the life of me figure out what they do. Is there a way to convert the FConstraintInstanceAccessor into a UPhysicsConstraintComponent? Or are they a whole different thing altogether?
I couldn’t find any answers through Unreal Engine documentation so I would greatly appreciate the help!