Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/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 SetLinearPositionDrive
&40;
bool bEnableDriveX,
bool bEnableDriveY,
bool bEnableDriveZ
&41;
Remarks
Enables/Disables linear position drive
Parameters
| Name | Description |
|---|---|
| bEnableDriveX | Indicates whether the drive for the X-Axis should be enabled |
| bEnableDriveY | Indicates whether the drive for the Y-Axis should be enabled |
| bEnableDriveZ | Indicates whether the drive for the Z-Axis should be enabled |