Navigation
API > API/Runtime > API/Runtime/Engine
Setting that controls behavior when movement is restricted to a 2D plane defined by a specific axis/normal, so that movement along the locked axis is not be possible.
| Name | EPlaneConstraintAxisSetting |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h |
| Include Path | #include "GameFramework/MovementComponent.h" |
Syntax
enum EPlaneConstraintAxisSetting
{
Custom,
X,
Y,
Z,
UseGlobalPhysicsSetting,
}
Values
| Name | Remarks |
|---|---|
| Custom | Lock movement to a user-defined axis. |
| X | Lock movement in the X axis. |
| Y | Lock movement in the Y axis. |
| Z | Lock movement in the Z axis. |
| UseGlobalPhysicsSetting | Use the global physics project setting. |