diff --git a/PlayerInputComponent.cpp b/PlayerInputComponent.cpp index 79f1d41..06ff22a 100644 --- a/PlayerInputComponent.cpp +++ b/PlayerInputComponent.cpp @@ -24,22 +24,22 @@ void PlayerInputComponent::ProcessKeyboard(float DeltaTime) bFreeMouse = true; } - if (glfwGetKey(Window, GLFW_KEY_E) == GLFW_PRESS) + if (glfwGetKey(Window, GLFW_KEY_W) == GLFW_PRESS) { PlayerCharacter.Move(FORWARD, DeltaTime); } - if (glfwGetKey(Window, GLFW_KEY_D) == GLFW_PRESS) + if (glfwGetKey(Window, GLFW_KEY_S) == GLFW_PRESS) { PlayerCharacter.Move(BACKWARD, DeltaTime); } - if (glfwGetKey(Window, GLFW_KEY_S) == GLFW_PRESS) + if (glfwGetKey(Window, GLFW_KEY_A) == GLFW_PRESS) { PlayerCharacter.Move(LEFT, DeltaTime); } - if (glfwGetKey(Window, GLFW_KEY_F) == GLFW_PRESS) + if (glfwGetKey(Window, GLFW_KEY_D) == GLFW_PRESS) { PlayerCharacter.Move(RIGHT, DeltaTime); }