Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPhysicsConstraintComponent
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/PhysicsConstraintComponent.h |
| Include Path | #include "PhysicsEngine/PhysicsConstraintComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsConstraintComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Physics|Components|PhysicsConstraint")
void SetAngularVelocityDriveSLERP
(
bool bEnableSLERP
)
Parameters
| Name | Remarks |
|---|---|
| bEnableSLERP | Indicates whether the SLERP drive should be enabled. Only relevant if the AngularDriveMode is set to SLERP |