unreal.PlaneConstraintAxisSetting

class unreal.PlaneConstraintAxisSetting

Bases: EnumBase

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.

C++ Source:

  • Module: Engine

  • File: MovementComponent.h

CUSTOM: PlaneConstraintAxisSetting

Lock movement to a user-defined axis.

Type:

0

USE_GLOBAL_PHYSICS_SETTING: PlaneConstraintAxisSetting

Use the global physics project setting.

Type:

4

X: PlaneConstraintAxisSetting

Lock movement in the X axis.

Type:

1

Y: PlaneConstraintAxisSetting

Lock movement in the Y axis.

Type:

2

Z: PlaneConstraintAxisSetting

Lock movement in the Z axis.

Type:

3