Lots of refactoring related to Movement Component State. Still not done yet.
This commit is contained in:
11
Source/Integration/LxCharacterBase.cpp
Normal file
11
Source/Integration/LxCharacterBase.cpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user