UMovementComponent::ConstrainDirectionToPlane

Constrain a direction vector to the plane constraint, if enabled.

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 FVector ConstrainDirectionToPlane
(
    FVector Direction
) const

Remarks

Constrain a direction vector to the plane constraint, if enabled.

See Also

SetPlaneConstraint

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