diff --git a/Binaries/Win64/UE4Editor-PBCharacterMovement.dll b/Binaries/Win64/UE4Editor-PBCharacterMovement.dll index ff4b6fe..bd9a7a5 100644 Binary files a/Binaries/Win64/UE4Editor-PBCharacterMovement.dll and b/Binaries/Win64/UE4Editor-PBCharacterMovement.dll differ diff --git a/Binaries/Win64/UE4Editor-PBCharacterMovement.pdb b/Binaries/Win64/UE4Editor-PBCharacterMovement.pdb index d555491..8e83687 100644 Binary files a/Binaries/Win64/UE4Editor-PBCharacterMovement.pdb and b/Binaries/Win64/UE4Editor-PBCharacterMovement.pdb differ diff --git a/Source/PBCharacterMovement/Private/Character/PBPlayerCharacter.cpp b/Source/PBCharacterMovement/Private/Character/PBPlayerCharacter.cpp index f828871..dd66cdd 100644 --- a/Source/PBCharacterMovement/Private/Character/PBPlayerCharacter.cpp +++ b/Source/PBCharacterMovement/Private/Character/PBPlayerCharacter.cpp @@ -29,6 +29,9 @@ APBPlayerCharacter::APBPlayerCharacter(const FObjectInitializer& ObjectInitializ // Camera eye level BaseEyeHeight = 53.34f; + + // get pointer to movement component + MovementPtr = Cast(ACharacter::GetMovementComponent()); } void APBPlayerCharacter::BeginPlay()