unreal.DOFMode

class unreal.DOFMode

Bases: EnumBase

EDOFMode

C++ Source:

  • Module: Engine

  • File: BodyInstance.h

CUSTOM_PLANE: DOFMode

Allows 2D movement along the plane of a given normal

Type:

5

DEFAULT: DOFMode

Inherits the degrees of freedom from the project settings.

Type:

0

NONE: DOFMode

No constraints.

Type:

6

SIX_DOF: DOFMode

Specifies which axis to freeze rotation and movement along.

Type:

1

XY_PLANE: DOFMode

Allows 2D movement along the X-Y plane.

Type:

4

XZ_PLANE: DOFMode

Allows 2D movement along the X-Z plane.

Type:

3

YZ_PLANE: DOFMode

Allows 2D movement along the Y-Z plane.

Type:

2