UCharacterMovementComponent::FindWaterLine

Get as close to waterline as possible, staying on same side as currently.

Choose your operating system:

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

FVector FindWaterLine
(
    FVector Start,
    FVector End
)

Remarks

Get as close to waterline as possible, staying on same side as currently.