UMovementComponent::IsExceedingMaxSpeed

Returns true if the current velocity is exceeding the given max speed (usually the result of [GetMaxSpeed()](API\Runtime\Engine\GameFramework\UMovementComponent\GetMaxSpeed)), within a small error tolerance.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/MovementComponent.h"

Source

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

Syntax

virtual bool IsExceedingMaxSpeed
(
    float MaxSpeed
) const

Remarks

Returns true if the current velocity is exceeding the given max speed (usually the result of GetMaxSpeed() ), within a small error tolerance. Note that under normal circumstances updates cause by acceleration will not cause this to be true, however external forces or changes in the max speed limit can cause the max speed to be violated.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback