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 position target"))
static void GetLinearPositionDrive
(
UPARAM FConstraintInstanceAccessor & Accessor,
bool & bOutEnableDriveX,
bool & bOutEnableDriveY,
bool & bOutEnableDriveZ
)
Remarks
Gets whether linear position drive is enabled or not
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to query |
| bOutEnableDriveX | Indicates whether the drive for the X-Axis is enabled |
| bOutEnableDriveY | Indicates whether the drive for the Y-Axis is enabled |
| bOutEnableDriveZ | Indicates whether the drive for the Z-Axis is enabled |