Hi,
Using version 4.10 I’ve created a simple FPS project (without using sample code), and it all worked pretty neatly. Then, when 4.11 rolled out, I thought I’d update my project. But since then, my character won’t move (expect for looking around with mouse) - even gravity won’t affect it.
void APlayerCharacter::MoveX(float Val)
{
if ((Controller != NULL) && (Val != 0.0f))
{
GEngine->AddOnScreenDebugMessage(-1, 2.f, FColor::Red, "X Axis value: " + FString::SanitizeFloat(Val)); //Shows values of X axis correcty, so it's not problem with input
AddMovementInput(GetActorForwardVector(), Val);
}
}
Also, I’ve double-checked if Auto-Activate is marked in CharacterMovement component.
Tried creating new project and reuse the code, but the result was the same.
Any ideas about what could be wrong?