unreal.MovementProperties

class unreal.MovementProperties(can_crouch: bool = False, can_jump: bool = False, can_walk: bool = False, can_swim: bool = False, can_fly: bool = False)

Bases: StructBase

Movement capabilities, determining available movement options for Pawns and used by AI for reachability tests.

C++ Source:

  • Module: Engine

  • File: NavigationTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • can_crouch (bool): [Read-Write] If true, this Pawn is capable of crouching.

  • can_fly (bool): [Read-Write] If true, this Pawn is capable of flying.

  • can_jump (bool): [Read-Write] If true, this Pawn is capable of jumping.

  • can_swim (bool): [Read-Write] If true, this Pawn is capable of swimming or moving through fluid volumes.

  • can_walk (bool): [Read-Write] If true, this Pawn is capable of walking or moving on the ground.

property can_crouch: bool

[Read-Write] If true, this Pawn is capable of crouching.

Type:

(bool)

property can_fly: bool

[Read-Write] If true, this Pawn is capable of flying.

Type:

(bool)

property can_jump: bool

[Read-Write] If true, this Pawn is capable of jumping.

Type:

(bool)

property can_swim: bool

[Read-Write] If true, this Pawn is capable of swimming or moving through fluid volumes.

Type:

(bool)

property can_walk: bool

[Read-Write] If true, this Pawn is capable of walking or moving on the ground.

Type:

(bool)