LocomotionAngleDeltaThreshold

Specifies an angle threshold to prevent erroneous over-rotation of the character, disabled with a value of 0

Choose your operating system:

Windows

macOS

Linux

Syntax

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Evaluation, Meta=(PinHiddenByDefault),
          Meta=(ClampMin="0.0", ClampMax="180.0"))
float LocomotionAngleDeltaThreshold

Remarks

Specifies an angle threshold to prevent erroneous over-rotation of the character, disabled with a value of 0

When the effective orientation warping angle is detected to be greater than this value (default: 90 degrees) the locomotion direction will be inverted prior to warping This will be used in the following equation: [Orientation = RotationBetween(RootMotionDirection, -LocomotionDirection)]

Example: Playing a forward running animation while the motion is going backward Rather than orientation warping by 180 degrees, the system will warp by 0 degrees