UProjectileMovementComponent::LimitVelocity

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

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

FVector LimitVelocity
(
    FVector NewVelocity
) const

Remarks

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

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