unreal.MovementProperties

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

Bases: unreal.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] Can Crouch: If true, this Pawn is capable of crouching.

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

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

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

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

property can_crouch

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

Type

(bool)

property can_fly

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

Type

(bool)

property can_jump

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

Type

(bool)

property can_swim

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

Type

(bool)

property can_walk

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

Type

(bool)