unreal.MovementMode

class unreal.MovementMode

Bases: unreal.EnumBase

Movement modes for Characters.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

MOVE_CUSTOM

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

Type

6

MOVE_FALLING

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

Type

3

MOVE_FLYING

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

Type

5

MOVE_NAV_WALKING

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

None (movement is disabled).

Type

0

MOVE_SWIMMING

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

Type

4

MOVE_WALKING

Walking on a surface.

Type

1