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 velocity target strength max force"))
static void GetLinearDriveParams
(
UPARAM FConstraintInstanceAccessor & Accessor,
float & OutPositionStrength,
float & OutVelocityStrength,
float & OutForceLimit
)
Remarks
Gets the drive params for the linear drive.
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to query |
| OutPositionStrength | Positional strength for the drive (stiffness) |
| OutVelocityStrength | Velocity strength of the drive (damping) |
| OutForceLimit | Max force applied by the drive |