UCharacterMovementComponent::SetMovementMode

Change movement mode.

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

virtual void SetMovementMode
(
    EMovementMode NewMovementMode,
    uint8 NewCustomMode
)

Remarks

Change movement mode.

Parameters

Parameter

Description

NewMovementMode

The new movement mode

NewCustomMode

The new custom sub-mode, only applicable if NewMovementMode is Custom.