USkeletalMeshComponent::SetAllMotorsAngularPositionDrive

Enable or Disable AngularPositionDrive.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h

Include

#include "Components/SkeletalMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp

Syntax

void SetAllMotorsAngularPositionDrive
(
    bool bEnableSwingDrive,
    bool bEnableTwistDrive,
    bool bSkipCustomPhysicsType
)

Remarks

Enable or Disable AngularPositionDrive. If motor is in SLERP mode it will be turned on if either EnableSwingDrive OR EnableTwistDrive are enabled. In Twist and Swing mode the twist and the swing can be controlled individually.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss