Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FConstraintInstance
Description
Set which linear position drives are enabled
Function for turning linear position drive on and off.
| Name | SetLinearPositionDrive |
| 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 SetLinearPositionDrive
(
bool bEnableXDrive,
bool bEnableYDrive,
bool bEnableZDrive
)