Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMovementComponent
Description
Constrain a direction vector to the plane constraint, if enabled.
| Name | ConstrainDirectionToPlane |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h |
| Include Path | #include "GameFramework/MovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/MovementComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|Movement|Planar")
virtual FVector ConstrainDirectionToPlane
(
FVector Direction
) const
See Also
- SetPlaneConstraint