Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > UPhysicsConstraintComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintComponent.h |
Include | #include "PhysicsEngine/PhysicsConstraintComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsConstraintComponent.cpp |
void UpdateConstraintFrames&40;&41;
Remarks
Update the reference frames held inside the constraint that indicate the joint location in the reference frame of the two connected bodies. You should call this whenever the constraint or either Component moves, or if you change the connected Components. This function does nothing though once the joint has been initialized.