Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/UConstraintInstanceBlueprintLibr-
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintInstanceBlueprintLibrary.h |
| Include | #include "PhysicsEngine/ConstraintInstanceBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ConstraintInstanceBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Physics|Constraints",
Meta=(Keywords="motor velocity target"))
static void SetLinearVelocityDrive
(
UPARAM FConstraintInstanceAccessor & Accessor,
bool bEnableDriveX,
bool bEnableDriveY,
bool bEnableDriveZ
)
Remarks
Enables/Disables linear velocity drive
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to change |
| 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 |