Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMovementComponent
Description
Sets the normal of the plane that constrains movement, enforced if the plane constraint is enabled. Changing the normal automatically sets PlaneConstraintAxisSetting to "Custom".
| Name | SetPlaneConstraintNormal |
| 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 void SetPlaneConstraintNormal
(
FVector PlaneNormal
)
Parameters
| Name | Remarks |
|---|---|
| PlaneNormal | The normal of the plane. If non-zero in length, it will be normalized. |