unreal.DOFMode

class unreal.DOFMode

Bases: unreal.EnumBase

EDOFMode

C++ Source:

  • Module: Engine

  • File: BodyInstance.h

CUSTOM_PLANE

Allows 2D movement along the plane of a given normal

Type

5

DEFAULT

Inherits the degrees of freedom from the project settings.

Type

0

NONE

No constraints.

Type

6

SIX_DOF

Specifies which axis to freeze rotation and movement along.

Type

1

XY_PLANE

Allows 2D movement along the X-Y plane.

Type

4

XZ_PLANE

Allows 2D movement along the X-Z plane.

Type

3

YZ_PLANE

Allows 2D movement along the Y-Z plane.

Type

2