UCharacterMovementComponent::StartSwimming

Handle start swimming functionality

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

void StartSwimming
(
    FVector OldLocation,
    FVector OldVelocity,
    float timeTick,
    float remainingTime,
    int32 Iterations
)

Remarks

Handle start swimming functionality

Parameters

Parameter

Description

OldLocation

Location on last tick

OldVelocity

velocity at last tick

timeTick

time since at OldLocation

remainingTime

DeltaTime to complete transition to swimming

Iterations

physics iteration count

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss