EPlaneConstraintAxisSetting

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.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/MovementComponent.h"

Syntax

enum EPlaneConstraintAxisSetting
{
    Custom,
    X,
    Y,
    Z,
    UseGlobalPhysicsSetting,
}

Values

Name

Description

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.

Remarks

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.

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