Navigation
API > API/Plugins > API/Plugins/Mover
Controls for the Swimming Movement.
| Name | FSwimmingControlSettings |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/DefaultMovementSet/Modes/SwimmingMode.h |
| Include Path | #include "DefaultMovementSet/Modes/SwimmingMode.h" |
Syntax
USTRUCT (BlueprintType )
struct FSwimmingControlSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSwimmingControlSettings() |
DefaultMovementSet/Modes/SwimmingMode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AngledSpeedCosAngle | float | Angled multiplier is applied when dot product of velocity and acceleration is < this. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| AngledSpeedMultiplier | float | Speed multiplier when moving off angle (velocity and acceleration divergent) | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BackwardsSpeedCosAngle | float | Directional multiplier is applied when dot product of velocity and player facing direction is < this. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BackwardsSpeedMultiplier | float | Directional multiplier when moving mostly backwards. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingExpDragDown | float | Bobbing: friction/drag opposed to downward velocity, squared with velocity per second. Ramps up faster with higher speeds, less effect at low speeds. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingExpDragDownSubmerged | float | Bobbing: friction/drag opposed to upward velocity, squared with velocity per second. Ramps up faster with higher speeds, less effect at low speeds. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingExpDragMultiplier | float | Bobbing: multiplier for the exponential drag. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingExpDragUp | float | Bobbing: friction/drag opposed to upward velocity, squared with velocity per second. Ramps up faster with higher speeds, less effect at low speeds. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingFrictionDown | float | Bobbing: friction/drag opposed to downward velocity, linear multiplier per second. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingFrictionDownSubmerged | float | Bobbing: friction/drag opposed to downward velocity, linear multiplier per second. Only used when fully submerged (replaces other value). | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingFrictionMultiplier | float | Bobbing: friction multiplier, multiplies the fluid friction value. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingFrictionUp | float | Bobbing: friction/drag opposed to upward velocity, linear multiplier per second. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingIdealDepthTolerance | float | Bobbing: Slow down strongly when within this tolerance of the ideal immersion depth. Normally we apply drag only when going away from the ideal depth, this allows some slowdown when approaching it. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BobbingMaxForce | float | Bobbing: | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BoostDragMultiplier | float | Bobbing: multiplier when in sprint boost to keep from popping up and out as much. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| BrakingDeceleration | float | Braking deceleration (decel when letting go of input) | DefaultMovementSet/Modes/SwimmingMode.h |
|
| CancelCrouchImmersionDepth | float | At or below this depth, cancel and disallow crouching. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| DBNOSwimImmersionDepth | float | At or below this depth, start swimming in DBNO. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| Friction | float | Friction, ie how floaty or snappy is changing direction. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| FrictionDirectionChangeDot | float | If Dot(Velocity, Acceleration) < this value, apply FrictionDirectionChangeMultiplier to friction value used. Allows lower friction when changing direction hard, which slows velocity change. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| FrictionDirectionChangeMultiplier | float | Friction multiplier (usually < 1) when changing direction. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| FrictionSprinting | float | Friction, ie how floaty or snappy is changing direction. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| JumpMultiplier | float | Multiplies ground's jump speed. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| MaxAcceleration | float | Max acceleration. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| MaxAccelerationSprinting | float | Max acceleration while sprinting. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| MaxHorizontalEntrySpeed | float | DefaultMovementSet/Modes/SwimmingMode.h |
|
|
| MaxNormalSpeed | float | Max speed when not sprinting and moving normally (before water velocity is applied) | DefaultMovementSet/Modes/SwimmingMode.h |
|
| MaxSpeedDown | float | DefaultMovementSet/Modes/SwimmingMode.h |
|
|
| MaxSpeedUp | float | DefaultMovementSet/Modes/SwimmingMode.h |
|
|
| MaxSprintSpeed | float | Max sprint speed (before water velocity is applied) | DefaultMovementSet/Modes/SwimmingMode.h |
|
| MaxTargetingSpeed | float | Max speed when targeting (before water velocity is applied) | DefaultMovementSet/Modes/SwimmingMode.h |
|
| MaxWaterForce | float | Max water force, after WaterVelocity * (WaterForceMultiplier * WaterForceSecondMultiplier). | DefaultMovementSet/Modes/SwimmingMode.h |
|
| MinSprintJumpSpeed | float | Min speed required (relative to water) to maintain sprint while jumping, otherwise will stop sprint (and change anims). | DefaultMovementSet/Modes/SwimmingMode.h |
|
| SprintDelayAfterFiring | float | DefaultMovementSet/Modes/SwimmingMode.h |
|
|
| SprintJumpAirAccelAngleLimit | float | If accel deviates from velocity by this angle while sprint jumping in air, stop sprint (and change anims). | DefaultMovementSet/Modes/SwimmingMode.h |
|
| SprintRetriggerDelay | float | DefaultMovementSet/Modes/SwimmingMode.h |
|
|
| WaterForceMultiplier | float | Multiplier to water force acceleration in direction of current. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| WaterForceSecondMultiplier | float | Multiplier applied on the top of WaterForceMultiplier, to water force acceleration in direction of current. Used only for inherited objects. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| WaterSimMaxTimeStep | float | Max time step allowed, to prevent huge forces on hitches. | DefaultMovementSet/Modes/SwimmingMode.h |
|
| WaterSimSubStepTime | float | Simulation sub-step time allowed for higher quality movement (local player and server). | DefaultMovementSet/Modes/SwimmingMode.h |
|
| WaterVelocityDepthForMax | float | At or above this depth, use max velocity. Interps down to WaterVelocityMinMultiplier at wading depth (where player can start swimming) | DefaultMovementSet/Modes/SwimmingMode.h |
|
| WaterVelocityMinMultiplier | float | Min velocity multiplier applied when depth equals min swimming depth (where they transition from wading to swimming). Interps between this and 1.0 at WaterVelocityDepthForMax. | DefaultMovementSet/Modes/SwimmingMode.h |
|