unreal.SimpleWalkingMode¶
- class unreal.SimpleWalkingMode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
WalkingModeBasic walking mode that implements the ground based walking
C++ Source:
Plugin: Mover
Module: Mover
File: SimpleWalkingMode.h
Editor Properties: (see get_editor_property/set_editor_property)
floor_check_policy(StaticFloorCheckPolicy): [Read-Write] Choice of behavior for floor checks while not moving.gameplay_tags(GameplayTagContainer): [Read-Write] A list of gameplay tags associated with this movement modemax_speed_override(float): [Read-Write] If this value is greater or equal to 0, this will override the max speed read from the common legacy shared walk settingsshared_settings_classes(Array[type(Class)]): [Read-Write] Settings object type that this mode depends on. May be shared with other movement modes. When the mode is added to a Mover Component, it will create a shared instance of this settings class.supports_async(bool): [Read-Write] Whether this movement mode supports being part of an asynchronous movement simulation (running concurrently with the gameplay thread) Specifically for the GenerateMove and SimulationTick functionstransitions(Array[BaseMovementModeTransition]): [Read-Write] Transition checks for the current mode. Evaluated in order, stopping at the first successful transition checkturn_generator(Object): [Read-Write] Optional modular object for generating rotation towards desired orientation. If not specified, linear interpolation will be used.
- generate_walk_move(start_state, delta_seconds, desired_velocity, desired_facing, current_facing, out_angular_velocity_degrees, out_velocity) -> (start_state=MoverTickStartData, out_angular_velocity_degrees=Vector, out_velocity=Vector)¶
Override this to make a simple walking mode
- Parameters:
- Returns:
start_state (MoverTickStartData):
out_angular_velocity_degrees (Vector):
out_velocity (Vector):
- Return type:
tuple