Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UConstraintInstanceBlueprintLibr-
Description
Enables/Disables the angular velocity slerp drive. Only relevant if the AngularDriveMode is set to SLERP
| Name | SetAngularVelocityDriveSLERP |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintInstanceBlueprintLibrary.h |
| Include Path | #include "PhysicsEngine/ConstraintInstanceBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ConstraintInstanceBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Physics|Constraints", Meta=(Keywords="motor target"))
static void SetAngularVelocityDriveSLERP
(
UPARAM FConstraintInstanceAccessor & Accessor,
bool bEnableSLERP
)
Parameters
| Name | Remarks |
|---|---|
| Accessor | Constraint accessor to change |
| bEnableSLERP | Indicates whether the SLERP drive should be enabled. Only relevant if the AngularDriveMode is set to SLERP |