UProjectileMovementComponent::LimitVelocity

Syntax

FVector LimitVelocity
(
    FVector NewVelocity
) const

Remarks

Don't allow velocity magnitude to exceed MaxSpeed, if MaxSpeed is non-zero.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h

Source

Runtime/Engine/Private/Components/ProjectileMovementComponent.cpp