UCharacterMovementComponent::ClearAccumulatedForces

Clears forces accumulated through [AddImpulse()](API\Runtime\Engine\GameFramework\UCharacterMovementComponent\AddImpulse) and [AddForce()](API\Runtime\Engine\GameFramework\UCharacterMovementComponent\AddForce), and also pending launch velocity.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

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

Syntax

virtual void ClearAccumulatedForces()

Remarks

Clears forces accumulated through AddImpulse() and AddForce(), and also pending launch velocity.

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