unreal.PhysicsDrivenFallingMode

class unreal.PhysicsDrivenFallingMode(outer: Object | None = None, name: Name | str = 'None')

Bases: FallingMode

PhysicsDrivenFallingMode: Override base kinematic falling mode for physics based motion.

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: PhysicsDrivenFallingMode.h

Editor Properties: (see get_editor_property/set_editor_property)

  • air_control_percentage (float): [Read-Write] When falling, amount of movement control available to the actor. 0 = no control, 1 = full control

  • falling_deceleration (float): [Read-Write] Deceleration to apply to air movement when falling slower than terminal velocity. Note: This is NOT applied to vertical velocity, only movement plane velocity

  • on_landed (Mover_OnLanded): [Read-Write] Broadcast when this actor lands on a valid surface.

  • over_terminal_speed_falling_deceleration (float): [Read-Write] Deceleration to apply to air movement when falling faster than terminal velocity Note: This is NOT applied to vertical velocity, only movement plane velocity

  • shared_settings_class (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.

  • should_clamp_terminal_vertical_speed (bool): [Read-Write] When exceeding maximum vertical speed, should it be enforced via a hard clamp? If false, VerticalFallingDeceleration will be used for a smoother transition to the terminal speed limit.

  • swing_torque_limit (float): [Read-Write] Maximum torque the character can apply to remain upright

  • target_height (float): [Read-Write] Target height for the character. This is the desired distance from the center of the capsule to the floor

  • terminal_movement_plane_speed (float): [Read-Write] If the actor’s movement plane velocity is greater than this speed falling will start applying OverTerminalSpeedFallingDeceleration instead of FallingDeceleration The expected behavior is to set OverTerminalSpeedFallingDeceleration higher than FallingDeceleration so the actor will slow down faster when going over TerminalMovementPlaneSpeed.

  • terminal_vertical_speed (float): [Read-Write] If the actors vertical velocity is greater than this speed VerticalFallingDeceleration will be applied to vertical velocity

  • transitions (Array[BaseMovementModeTransition]): [Read-Write] Transition checks for the current mode. Evaluated in order, stopping at the first successful transition check

  • twist_torque_limit (float): [Read-Write] Maximum torque the character can apply to rotate in air about the vertical axis

  • vertical_falling_deceleration (float): [Read-Write] Deceleration to apply to vertical velocity when it’s greater than TerminalVerticalSpeed. Only used if bShouldClampTerminalVerticalSpeed is false.