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 target orientation velocity strength max force"))
static void SetAngularDriveParams
(
UPARAM FConstraintInstanceAccessor & Accessor,
float PositionStrength,
float VelocityStrength,
float InForceLimit
)
Remarks
Sets the drive params for the angular drive.
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to change |
| PositionStrength | Positional strength for the drive (stiffness) |
| VelocityStrength | Velocity strength of the drive (damping) |
| InForceLimit | Max force applied by the drive |