Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > FConstraintInstance
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintInstance.h |
Include | #include "PhysicsEngine/ConstraintInstance.h" |
Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ConstraintInstance.cpp |
void SetRefOrientation
&40;
EConstraintFrame::Type Frame,
const FVector & PriAxis,
const FVector & SecAxis
&41;
Remarks
Pass in reference orientation in (maintains reference position). If the constraint is currently active, this will set its active local pose. Otherwise the change will take affect in InitConstraint.