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