UProjectileMovementComponent::ClearPendingForce

Clears any pending forces from [AddForce()](API\Runtime\Engine\GameFramework\UProjectileMovementComponent\AddForce).

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h

Include

#include "GameFramework/ProjectileMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/ProjectileMovementComponent.cpp

Syntax

void ClearPendingForce
(
    bool bClearImmediateForce
)

Remarks

Clears any pending forces from AddForce(). If bClearImmediateForce is true, clears any force being processed during this update as well.