UProjectileMovementComponent::AddForce

Adds a force which is accumulated until next tick, used by [ComputeAcceleration()](API\Runtime\Engine\GameFramework\UProjectileMovementComponent\ComputeAcceleration) to affect Velocity.

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 AddForce
(
    FVector Force
)

Remarks

Adds a force which is accumulated until next tick, used by ComputeAcceleration() to affect Velocity.