unreal.LockedAxis

class unreal.LockedAxis

Bases: EnumBase

deprecated: ‘LockedAxis’ was renamed to ‘DOFMode’.

CUSTOM_PLANE: LockedAxis

Allows 2D movement along the plane of a given normal

Type:

5

DEFAULT: LockedAxis

Inherits the degrees of freedom from the project settings.

Type:

0

NONE: LockedAxis

No constraints.

Type:

6

SIX_DOF: LockedAxis

Specifies which axis to freeze rotation and movement along.

Type:

1

XY_PLANE: LockedAxis

Allows 2D movement along the X-Y plane.

Type:

4

XZ_PLANE: LockedAxis

Allows 2D movement along the X-Z plane.

Type:

3

YZ_PLANE: LockedAxis

Allows 2D movement along the Y-Z plane.

Type:

2