unreal.PhysicsDrivenSwimmingMode

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

Bases: SwimmingMode

WARNING - This class will be removed. Please use UChaosSwimmingMode instead

PhysicsDrivenSwimmingMode: Override base kinematic Swimming mode for physics based motion.

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: PhysicsDrivenSwimmingMode.h

Editor Properties: (see get_editor_property/set_editor_property)

  • gameplay_tags (GameplayTagContainer): [Read-Write] A list of gameplay tags associated with this movement mode

  • query_radius (float): [Read-Write] Radius used for ground queries

  • shared_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 functions

  • surface_swimming_water_control_settings (SwimmingControlSettings): [Read-Write]

  • target_height_override (‘undefined’): [Read-Write] Optional override target height for the character (the desired distance from the center of the capsule to the floor). If left blank, the -Z offset of the owning character’s skeletal mesh comp will be used automatically.

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