Lots of refactoring related to Movement Component State. Still not done yet.

This commit is contained in:
2026-02-13 23:24:18 -05:00
parent 30e53c3054
commit 107cb57b66
17 changed files with 621 additions and 331 deletions

View File

@@ -0,0 +1,11 @@
// Copyright Epic Games, Inc. All Rights Reserved.
#include "LxCharacterBase.h"
#include "GameFramework/CharacterMovementComponent.h"
void AlxCharacterBase::SetMovementComponentMode(EMovementMode MovementMode)
{
UCharacterMovementComponent *CMC = GetCharacterMovement();
if (CMC) CMC->SetMovementMode(MovementMode);
}