Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPhysicsConstraintComponent
Description
Toggles the angular drive acceleration mode. When enabled, the acceleration of the angular drive is not affected by the inertia of the constrained objects around the drive axis.
| Name | SetAngularDriveAccelerationMode |
| 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 SetAngularDriveAccelerationMode
(
bool bAccelerationMode
)