Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FConstraintInstance
Description
Set which twist and swing orientation drives are enabled. Only applicable when Twist And Swing drive mode is used
| Name | SetOrientationDriveTwistAndSwing |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintInstance.h |
| Include Path | #include "PhysicsEngine/ConstraintInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ConstraintInstance.cpp |
void SetOrientationDriveTwistAndSwing
(
bool bInEnableTwistDrive,
bool bInEnableSwingDrive
)