unreal.MovementMode

class unreal.MovementMode

Bases: EnumBase

Movement modes for Characters.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

MOVE_CUSTOM: MovementMode

User-defined custom movement mode, including many possible sub-modes.

Type:

6

MOVE_FALLING: MovementMode

Falling under the effects of gravity, such as after jumping or walking off the edge of a surface.

Type:

3

MOVE_FLYING: MovementMode

Flying, ignoring the effects of gravity. Affected by the current physics volume’s fluid friction.

Type:

5

MOVE_NAV_WALKING: MovementMode

Simplified walking on navigation data (e.g. navmesh). If GetGenerateOverlapEvents() is true, then we will perform sweeps with each navmesh move. If GetGenerateOverlapEvents() is false then movement is cheaper but characters can overlap other objects without some extra process to repel/resolve their collisions.

Type:

2

MOVE_NONE: MovementMode

None (movement is disabled).

Type:

0

MOVE_SWIMMING: MovementMode

Swimming through a fluid volume, under the effects of gravity and buoyancy.

Type:

4

MOVE_WALKING: MovementMode

Walking on a surface.

Type:

1