Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMeshComponent
Description
Enable or Disable AngularVelocityDrive based on a list of bone names. If motor is in SLERP mode it will be turned on/off if either bEnableSwingDrive OR bEnableTwistDrive are enabled.
| Name | SetNamedMotorsAngularVelocityDrive |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include Path | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
void SetNamedMotorsAngularVelocityDrive
(
bool bEnableSwingDrive,
bool bEnableTwistDrive,
const TArray < FName > & BoneNames,
bool bSetOtherBodiesToComplement
)