unreal.PlaneConstraintAxisSetting

class unreal.PlaneConstraintAxisSetting

Bases: unreal.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

Lock movement to a user-defined axis.

Type

0

USE_GLOBAL_PHYSICS_SETTING

Use the global physics project setting.

Type

4

X

Lock movement in the X axis.

Type

1

Y

Lock movement in the Y axis.

Type

2

Z

Lock movement in the Z axis.

Type

3